diff options
author | Tom Rini <trini@konsulko.com> | 2019-04-12 12:22:43 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-04-12 12:22:43 -0400 |
commit | 40a9546c7b6217a78a3a010a0142529a837e46b6 (patch) | |
tree | 87ef70a898d33b0f2b9194f3f96f1283a6325c16 /board/logicpd/am3517evm/am3517evm.c | |
parent | 02f173ca156cee8526dff87603d5e446b443cde3 (diff) | |
parent | d2c05f50e12f87128597a28146de7092aaa847c3 (diff) |
Merge branch '2019-04-11-ti-master-imports'
- Improve Keystone 3 SoC support (DMA, TI SCI)
- Improve Keystone 2 SoC support (PHY fixes on various platforms)
- Improve am335x families (new platforms, more boot mode options in SPL
via DM).
- General DaVinci, OMAP5 fixes.
Diffstat (limited to 'board/logicpd/am3517evm/am3517evm.c')
-rw-r--r-- | board/logicpd/am3517evm/am3517evm.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/logicpd/am3517evm/am3517evm.c b/board/logicpd/am3517evm/am3517evm.c index 6f728398c38..10031a48018 100644 --- a/board/logicpd/am3517evm/am3517evm.c +++ b/board/logicpd/am3517evm/am3517evm.c @@ -37,6 +37,15 @@ DECLARE_GLOBAL_DATA_PTR; #define CPGMACSS_SW_RST (1 << 1) #define PHY_GPIO 30 +#if defined(CONFIG_SPL_BUILD) +#if defined(CONFIG_SPL_OS_BOOT) +int spl_start_uboot(void) +{ + /* break into full u-boot on 'c' */ + return serial_tstc() && serial_getc() == 'c'; +} +#endif +#endif /* * Routine: board_init |