aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/board_late_init.c
diff options
context:
space:
mode:
authorMasahiro Yamada2016-04-21 14:43:16 +0900
committerMasahiro Yamada2016-04-24 09:53:57 +0900
commitd90b9745ea1b0972e920605673e5895fb09cf3e7 (patch)
tree947be51c3138cee2adb438a529abd2f43ddb8d03 /arch/arm/mach-uniphier/board_late_init.c
parent612ccd90012d7c77bbe67ec65f770b9e82fe4a35 (diff)
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 <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/board_late_init.c')
-rw-r--r--arch/arm/mach-uniphier/board_late_init.c4
1 files 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 6e2008ccd73..591b972c8a5 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();