[U-Boot-Users] Imminent u-boot-fdt pull request

Scott Wood scottwood at freescale.com
Fri May 25 20:17:10 CEST 2007


Jerry Van Baren wrote:
>> What about doing a search for device_type = "cpu", rather than looking 
>> for a specific CPU name?  The Linux bootwrapper does it this way.  It 
>> also has the benefit of working when there's more than one CPU.
>>
>> -Scott
> 
> 
> I deeply regret the confusion I caused by pushing the "Send" when I 
> meant to push "Write" to start a new, unrelated, message.  My updated 
> re-send, as you probably have figured out by now, is more coherent.
> 
> OF_CPU is defined in the board-specific header file, e.g. 
> configs/MPC8360EMDS.h, pulled in by config.h.  Since I am missing the 
> #include <config.h> in the two files being discussed, OF_CPU is 
> undefined and the string concatenation trick makes it silently disappear.

Sure... I was just suggesting a more robust method, that doesn't rely on 
the board config file to define the CPU name.

-Scott




More information about the U-Boot mailing list