summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBernhard Nortmann <bernhard.nortmann@web.de>2016-04-03 13:58:00 +0200
committerHans de Goede <hdegoede@redhat.com>2016-05-25 17:52:39 +0200
commit28d68045cc9f146a8c4aa2c8921eb95330ccc754 (patch)
tree653aa339fd565ed89058ebcf07202934e62c60e4 /arch
parentb19236fd1c1ef289bab9e243ee5b50d658fcac3f (diff)
downloadu-boot-imx-28d68045cc9f146a8c4aa2c8921eb95330ccc754.zip
u-boot-imx-28d68045cc9f146a8c4aa2c8921eb95330ccc754.tar.gz
u-boot-imx-28d68045cc9f146a8c4aa2c8921eb95330ccc754.tar.bz2
sunxi: Properly announce BOOT_DEVICE_BOARD as "FEL"
This addresses a cosmetic issue when booting a sunxi device over USB (FEL mode), where the SPL currently would just print "Trying to boot from ". The patch fixes that to properly read "Trying to boot from FEL". Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-sunxi/board.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/board.c b/arch/arm/mach-sunxi/board.c
index 20149da..bd15b9b 100644
--- a/arch/arm/mach-sunxi/board.c
+++ b/arch/arm/mach-sunxi/board.c
@@ -247,6 +247,15 @@ u32 spl_boot_device(void)
return -1; /* Never reached */
}
+/*
+ * Properly announce BOOT_DEVICE_BOARD as "FEL".
+ * Overrides weak function from common/spl/spl.c
+ */
+void spl_board_announce_boot_device(void)
+{
+ printf("FEL");
+}
+
/* No confirmation data available in SPL yet. Hardcode bootmode */
u32 spl_boot_mode(void)
{