[U-Boot] [PATCH V2 06/14] ARM: AM43XX: Add CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG support
Lokesh Vutla
lokeshvutla at ti.com
Mon Nov 25 05:48:27 CET 2013
On Friday 22 November 2013 01:58 AM, Vaibhav Bedia wrote:
> On Thu, Nov 21, 2013 at 1:18 AM, Lokesh Vutla <lokeshvutla at ti.com> wrote:
> [...]
>> +#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
>> + char safe_string[HDR_NAME_LEN + 1];
>> + struct am43xx_board_id header;
>> +
>> + if (read_eeprom(&header) < 0)
>> + puts("Could not get board ID.\n");
>
> Hmm... didn't the previous patch read the EEPROM?
This is as per suggested by Tom. If I populate a common structure it ll bread NOR boot.
I hope you understand what happens in NOR boot.
Thanks
Lokesh
>
More information about the U-Boot
mailing list