summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongjin Kim <tobetter@gmail.com>2019-09-16 12:52:34 +0300
committerDongjin Kim <tobetter@gmail.com>2020-02-13 11:13:40 +0300
commit7243ad9333c06607e23b244cc8e539e5a64d9ad1 (patch)
tree99a4c5bf16c625eaa255b46a1e1d2cdf6c87092b
parent139dacae292ad0dc56ba3eaa5f7fdf729c5f0fcd (diff)
downloadu-boot-7243ad9333c06607e23b244cc8e539e5a64d9ad1.tar.xz
ODROID-C4: boot: add to load default boot logo from SPI memory
Change-Id: I6bbf7c9080b1dde961fa4b10c2f4c5877dd50a0f Signed-off-by: Dongjin Kim <tobetter@gmail.com>
-rw-r--r--board/hardkernel/odroidc4/odroidc4.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/board/hardkernel/odroidc4/odroidc4.c b/board/hardkernel/odroidc4/odroidc4.c
index 0879573cbf..92bc9c5b5b 100644
--- a/board/hardkernel/odroidc4/odroidc4.c
+++ b/board/hardkernel/odroidc4/odroidc4.c
@@ -385,14 +385,15 @@ int board_late_init(void)
board_cvbs_probe();
#endif
- /* boot logo display - 1080p60hz */
- run_command("showlogo", 0);
-
if (get_boot_device() == BOOT_DEVICE_SPI) {
setenv("bootdelay", "0");
- setenv("bootcmd", "run booting_from_spi");
+ setenv("bootcmd", "run boot_spi");
+ run_command("sf probe", 0);
}
+ /* boot logo display - 1080p60hz */
+ run_command("showlogo", 0);
+
usbhost_early_poweron();
return 0;