[U-Boot] [PATCH v2] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

Kumar Gala galak at kernel.crashing.org
Mon Aug 18 23:04:07 CEST 2008


On Aug 18, 2008, at 3:55 PM, Wolfgang Denk wrote:

> Dear Kumar Gala,
>
> In message <594AB220-FA74-4A51-BF54- 
> C79EBD696A51 at kernel.crashing.org> you wrote:
>>
>>> It might be better (and more efficent) to iterate over the
>>> environment, and check each name against the eth*addr pattern.
>>
>> Its probably easier/less work to iterate over the aliases looking for
>> "ethernet*" pattern, I can do that if its desired.
>
> No, I agree with Scott here.

Really?  It seems like parsing the env is a lot more checking than  
aliases.

If you guys think the env is easier/better I'll look at doing that.

- k



More information about the U-Boot mailing list