[U-Boot] [PATCH v4 07/13] ARM: uniphier: carry on booting for Unknown boot mode

Masahiro Yamada yamada.masahiro at socionext.com
Thu Apr 21 07:43:16 CEST 2016


No need to stop booting U-Boot even if boot mode is unknown.
Setting the "bootmode" environment is only useful for booting
Linux Kernel.  Anyway, U-Boot has already booted by this point.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

Changes in v4:
  - Newly added

Changes in v3: None
Changes in v2: None

 arch/arm/mach-uniphier/board_late_init.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-uniphier/board_late_init.c b/arch/arm/mach-uniphier/board_late_init.c
index 6e2008c..591b972 100644
--- a/arch/arm/mach-uniphier/board_late_init.c
+++ b/arch/arm/mach-uniphier/board_late_init.c
@@ -85,8 +85,8 @@ int board_late_init(void)
 		setenv("bootmode", "usbboot");
 		break;
 	default:
-		printf("Unsupported Boot Mode\n");
-		return -1;
+		printf("Unknown\n");
+		break;
 	}
 
 	uniphier_set_fdt_file();
-- 
1.9.1



More information about the U-Boot mailing list