X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=board%2Fti%2Fam335x%2Fboard.c;h=638cc4d68b2ad5238443c6c180f378e66278b826;hp=06e8f07c4eeea150fda69da69770ec944e14cb7c;hb=41341221d12341a2ecfb280142d6478071738fc2;hpb=847e6693ccb529bf8346db62876f38f0c4e04ade diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index 06e8f07c4e..638cc4d68b 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -297,6 +297,15 @@ static struct emif_regs ddr3_evm_emif_reg_data = { .emif_ddr_phy_ctlr_1 = MT41J512M8RH125_EMIF_READ_LATENCY | PHY_EN_DYN_PWRDN, }; + +#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 /*