aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2017-06-25 10:30:47 +0200
committerTom Rini <trini@konsulko.com>2017-07-06 13:09:38 -0400
commitab3b7770b6a39741bdad2b24a58b69b868863780 (patch)
tree4852def8ba5867899bc2a1a42b3ba571e52cdbae /board
parent31da6e30c4cc98c090babdd860e508dcb81af666 (diff)
downloadu-boot-ab3b7770b6a39741bdad2b24a58b69b868863780.zip
u-boot-ab3b7770b6a39741bdad2b24a58b69b868863780.tar.gz
u-boot-ab3b7770b6a39741bdad2b24a58b69b868863780.tar.bz2
igep003x: Falcon mode
Implement spl_start_uboot to let Falcon mode work. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board')
-rw-r--r--board/isee/igep003x/board.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/isee/igep003x/board.c b/board/isee/igep003x/board.c
index 2d0ebbf..e33170d 100644
--- a/board/isee/igep003x/board.c
+++ b/board/isee/igep003x/board.c
@@ -166,6 +166,14 @@ void sdram_init(void)
config_ddr(400, &ioregs_igep0034_lite, &ddr3_igep0034_lite_data,
&ddr3_igep0034_lite_cmd_ctrl_data, &ddr3_igep0034_lite_emif_reg_data, 0);
}
+
+#ifdef CONFIG_SPL_OS_BOOT
+int spl_start_uboot(void)
+{
+ /* break into full u-boot on 'c' */
+ return serial_tstc() && serial_getc() == 'c';
+}
+#endif
#endif
/*