[U-Boot] [PATCH V2 06/14] ARM: AM43XX: Add CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG support

Vaibhav Bedia vaibhav.bedia at gmail.com
Wed Nov 27 00:51:31 CET 2013


On Sun, Nov 24, 2013 at 11:48 PM, Lokesh Vutla <lokeshvutla at ti.com> wrote:
> 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.
>

Care to explain how this particular snippet relates to NOR boot?


More information about the U-Boot mailing list