evm.c (4a30a93929c112af94b8e00db1382432a69d0809) evm.c (310fb14b2631b2175efe9b0e56d0f1630ad02d91)
1/*
2 * (C) Copyright 2013
3 * Texas Instruments Incorporated, <www.ti.com>
4 *
5 * Lokesh Vutla <lokeshvutla@ti.com>
6 *
7 * Based on previous work by:
8 * Aneesh V <aneesh@ti.com>

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

820int spl_start_uboot(void)
821{
822 /* break into full u-boot on 'c' */
823 if (serial_tstc() && serial_getc() == 'c')
824 return 1;
825
826#ifdef CONFIG_SPL_ENV_SUPPORT
827 env_init();
1/*
2 * (C) Copyright 2013
3 * Texas Instruments Incorporated, <www.ti.com>
4 *
5 * Lokesh Vutla <lokeshvutla@ti.com>
6 *
7 * Based on previous work by:
8 * Aneesh V <aneesh@ti.com>

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

820int spl_start_uboot(void)
821{
822 /* break into full u-boot on 'c' */
823 if (serial_tstc() && serial_getc() == 'c')
824 return 1;
825
826#ifdef CONFIG_SPL_ENV_SUPPORT
827 env_init();
828 env_relocate_spec();
828 env_load();
829 if (getenv_yesno("boot_os") != 1)
830 return 1;
831#endif
832
833 return 0;
834}
835#endif
836

--- 169 unchanged lines hidden ---
829 if (getenv_yesno("boot_os") != 1)
830 return 1;
831#endif
832
833 return 0;
834}
835#endif
836

--- 169 unchanged lines hidden ---