board.c (f70a427268b633cf6c0bae093565d12f5eac6ae0) board.c (310fb14b2631b2175efe9b0e56d0f1630ad02d91)
1/*
2 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com
3 *
4 * Author: Felipe Balbi <balbi@ti.com>
5 *
6 * Based on board/ti/dra7xx/evm.c
7 *
8 * SPDX-License-Identifier: GPL-2.0+

--- 728 unchanged lines hidden (view full) ---

737int spl_start_uboot(void)
738{
739 /* break into full u-boot on 'c' */
740 if (serial_tstc() && serial_getc() == 'c')
741 return 1;
742
743#ifdef CONFIG_SPL_ENV_SUPPORT
744 env_init();
1/*
2 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com
3 *
4 * Author: Felipe Balbi <balbi@ti.com>
5 *
6 * Based on board/ti/dra7xx/evm.c
7 *
8 * SPDX-License-Identifier: GPL-2.0+

--- 728 unchanged lines hidden (view full) ---

737int spl_start_uboot(void)
738{
739 /* break into full u-boot on 'c' */
740 if (serial_tstc() && serial_getc() == 'c')
741 return 1;
742
743#ifdef CONFIG_SPL_ENV_SUPPORT
744 env_init();
745 env_relocate_spec();
745 env_load();
746 if (getenv_yesno("boot_os") != 1)
747 return 1;
748#endif
749
750 return 0;
751}
752#endif
753

--- 310 unchanged lines hidden ---
746 if (getenv_yesno("boot_os") != 1)
747 return 1;
748#endif
749
750 return 0;
751}
752#endif
753

--- 310 unchanged lines hidden ---