[U-Boot] Usage of bi_env ?
Dirk Behme
dirk.behme at googlemail.com
Tue Jul 27 18:38:37 CEST 2010
On 15.07.2010 23:21, Wolfgang Denk wrote:
> Dear Dirk Behme,
>
> In message<4C349814.2000804 at googlemail.com> you wrote:
>> With U-Boot 2010.03 on an ARM board, the output of 'bdinfo' command gives:
>>
>> ...
>> env_t = 0x00000000
>> ...
>>
>> The code in common/cmd_bdinfo.c for this is
>>
>> bd_t *bd = gd->bd;
>> ...
>> print_num ("env_t", (ulong)bd->bi_env);
>>
>> While checking if 0 for this value is correct or not, it looks to me
>> that bi_env isn't set anywhere and is unused [1]. And it looks like
>> bi_env is printed only in the ARM version of bdinfo. Do I miss
>> anything here?
>
> You missed sending a patch that cleans this up :-)
Fixed some minutes ago ;)
Best regards
Dirk
More information about the U-Boot
mailing list