board.c (13a3972585af60ec367d209cedbd3601e0c77467) board.c (310fb14b2631b2175efe9b0e56d0f1630ad02d91)
1/*
2 * board.c
3 *
4 * Board functions for TCL SL50 board
5 *
6 * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
7 *
8 * SPDX-License-Identifier: GPL-2.0+

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

71int spl_start_uboot(void)
72{
73 /* break into full u-boot on 'c' */
74 if (serial_tstc() && serial_getc() == 'c')
75 return 1;
76
77#ifdef CONFIG_SPL_ENV_SUPPORT
78 env_init();
1/*
2 * board.c
3 *
4 * Board functions for TCL SL50 board
5 *
6 * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
7 *
8 * SPDX-License-Identifier: GPL-2.0+

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

71int spl_start_uboot(void)
72{
73 /* break into full u-boot on 'c' */
74 if (serial_tstc() && serial_getc() == 'c')
75 return 1;
76
77#ifdef CONFIG_SPL_ENV_SUPPORT
78 env_init();
79 env_relocate_spec();
79 env_load();
80 if (getenv_yesno("boot_os") != 1)
81 return 1;
82#endif
83
84 return 0;
85}
86#endif
87

--- 299 unchanged lines hidden ---
80 if (getenv_yesno("boot_os") != 1)
81 return 1;
82#endif
83
84 return 0;
85}
86#endif
87

--- 299 unchanged lines hidden ---