board.c (9f7923c73cca2a2735148c16de331cbdcf77ec63) | board.c (310fb14b2631b2175efe9b0e56d0f1630ad02d91) |
---|---|
1/* 2 * board.c 3 * 4 * Board functions for TI AM335X based boards 5 * 6 * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ 7 * 8 * SPDX-License-Identifier: GPL-2.0+ --- 235 unchanged lines hidden (view full) --- 244int spl_start_uboot(void) 245{ 246 /* break into full u-boot on 'c' */ 247 if (serial_tstc() && serial_getc() == 'c') 248 return 1; 249 250#ifdef CONFIG_SPL_ENV_SUPPORT 251 env_init(); | 1/* 2 * board.c 3 * 4 * Board functions for TI AM335X based boards 5 * 6 * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ 7 * 8 * SPDX-License-Identifier: GPL-2.0+ --- 235 unchanged lines hidden (view full) --- 244int spl_start_uboot(void) 245{ 246 /* break into full u-boot on 'c' */ 247 if (serial_tstc() && serial_getc() == 'c') 248 return 1; 249 250#ifdef CONFIG_SPL_ENV_SUPPORT 251 env_init(); |
252 env_relocate_spec(); | 252 env_load(); |
253 if (getenv_yesno("boot_os") != 1) 254 return 1; 255#endif 256 257 return 0; 258} 259#endif 260 --- 720 unchanged lines hidden --- | 253 if (getenv_yesno("boot_os") != 1) 254 return 1; 255#endif 256 257 return 0; 258} 259#endif 260 --- 720 unchanged lines hidden --- |