From: Ladislav Michl Date: Tue, 12 Jul 2016 18:28:34 +0000 (+0200) Subject: igep00x0: Falcon mode X-Git-Tag: v2016.09-rc1~42 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fe9f6289e1a50d691ad591fa4224b8a3aa250848;p=u-boot igep00x0: Falcon mode Implement spl_start_uboot to let Falcon mode work. Signed-off-by: Ladislav Michl Reviewed-by: Heiko Schocher Acked-by: Enric Balletbo i Serra --- diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c index 4c52b3601f..808955e69e 100644 --- a/board/isee/igep00x0/igep00x0.c +++ b/board/isee/igep00x0/igep00x0.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include @@ -122,6 +123,17 @@ void get_board_mem_timings(struct board_sdrc_timings *timings) gpmc_cs0_flash = MTD_DEV_TYPE_ONENAND; } } + +#ifdef CONFIG_SPL_OS_BOOT +int spl_start_uboot(void) +{ + /* break into full u-boot on 'c' */ + if (serial_tstc() && serial_getc() == 'c') + return 1; + + return 0; +} +#endif #endif int onenand_board_init(struct mtd_info *mtd)