board.c (95de1e2f26b562156210833ff667be6d071de019) | board.c (310fb14b2631b2175efe9b0e56d0f1630ad02d91) |
---|---|
1/* 2 * board.c 3 * 4 * Board functions for Birdland Audio BAV335x Network Processor 5 * 6 * Copyright (c) 2012-2014 Birdland Audio - http://birdland.com/oem 7 * 8 * SPDX-License-Identifier: GPL-2.0+ --- 148 unchanged lines hidden (view full) --- 157int spl_start_uboot(void) 158{ 159 /* break into full u-boot on 'c' */ 160 if (serial_tstc() && serial_getc() == 'c') 161 return 1; 162 163#ifdef CONFIG_SPL_ENV_SUPPORT 164 env_init(); | 1/* 2 * board.c 3 * 4 * Board functions for Birdland Audio BAV335x Network Processor 5 * 6 * Copyright (c) 2012-2014 Birdland Audio - http://birdland.com/oem 7 * 8 * SPDX-License-Identifier: GPL-2.0+ --- 148 unchanged lines hidden (view full) --- 157int spl_start_uboot(void) 158{ 159 /* break into full u-boot on 'c' */ 160 if (serial_tstc() && serial_getc() == 'c') 161 return 1; 162 163#ifdef CONFIG_SPL_ENV_SUPPORT 164 env_init(); |
165 env_relocate_spec(); | 165 env_load(); |
166 if (getenv_yesno("boot_os") != 1) 167 return 1; 168#endif 169 170 return 0; 171} 172#endif 173 --- 257 unchanged lines hidden --- | 166 if (getenv_yesno("boot_os") != 1) 167 return 1; 168#endif 169 170 return 0; 171} 172#endif 173 --- 257 unchanged lines hidden --- |