From: Masahiro Yamada Date: Thu, 21 Apr 2016 05:43:16 +0000 (+0900) Subject: ARM: uniphier: carry on booting for Unknown boot mode X-Git-Tag: v2016.05-rc3~26^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d90b9745ea1b0972e920605673e5895fb09cf3e7;p=u-boot ARM: uniphier: carry on booting for Unknown boot mode 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 --- diff --git a/arch/arm/mach-uniphier/board_late_init.c b/arch/arm/mach-uniphier/board_late_init.c index 6e2008ccd7..591b972c8a 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();