projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5debaa
)
igep00x0: Falcon mode
author
Ladislav Michl
<
[email protected]
>
Tue, 12 Jul 2016 18:28:34 +0000
(20:28 +0200)
committer
Tom Rini
<
[email protected]
>
Fri, 22 Jul 2016 18:46:19 +0000
(14:46 -0400)
Implement spl_start_uboot to let Falcon mode work.
Signed-off-by: Ladislav Michl <
[email protected]
>
Reviewed-by: Heiko Schocher <
[email protected]
>
Acked-by: Enric Balletbo i Serra <
[email protected]
>
board/isee/igep00x0/igep00x0.c
patch
|
blob
|
history
diff --git
a/board/isee/igep00x0/igep00x0.c
b/board/isee/igep00x0/igep00x0.c
index 4c52b3601f36a23338e86a9dfec515a91d03a9ef..808955e69e76e91ffd250f8f1997f8f6ff06147f 100644
(file)
--- 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)