summaryrefslogtreecommitdiff
path: root/board/isee
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2016-07-12 18:28:34 (GMT)
committerTom Rini <trini@konsulko.com>2016-07-22 18:46:19 (GMT)
commitfe9f6289e1a50d691ad591fa4224b8a3aa250848 (patch)
tree37307a7f99cdb65921f1db271aad0e168e40257b /board/isee
parenta5debaa3920ca1f50896a2cfc25597f4aaca7bf6 (diff)
downloadu-boot-fe9f6289e1a50d691ad591fa4224b8a3aa250848.tar.xz
igep00x0: Falcon mode
Implement spl_start_uboot to let Falcon mode work. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Reviewed-by: Heiko Schocher <hs@denx.de> Acked-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Diffstat (limited to 'board/isee')
-rw-r--r--board/isee/igep00x0/igep00x0.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c
index 4c52b36..808955e 100644
--- a/board/isee/igep00x0/igep00x0.c
+++ b/board/isee/igep00x0/igep00x0.c
@@ -10,6 +10,7 @@
#include <ns16550.h>
#include <twl4030.h>
#include <netdev.h>
+#include <spl.h>
#include <asm/gpio.h>
#include <asm/io.h>
#include <asm/arch/mem.h>
@@ -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)