[PATCH 2/5] bootwrapper: Add CONFIG_DEVICE_TREE
Kumar Gala
galak at kernel.crashing.org
Fri Apr 13 02:49:51 EST 2007
On Apr 12, 2007, at 11:17 AM, Scott Wood wrote:
> Kumar Gala wrote:
>> On Apr 12, 2007, at 10:36 AM, Scott Wood wrote:
>>> Paul Mackerras wrote:
>>>
>>>> Hmmm, I'm not sure that I want to be asked about
>>>> CONFIG_DEVICE_TREE on
>>>> *all* powerpc platforms... Surely this option should depend on
>>>> something that says we're including support for a uBoot-able
>>>> platform?
>>>
>>>
>>> That's how I originally had it, but I was asked to make it more
>>> general.
>>> One non-uboot usage is Mark Greer's "Add Makefile rule to wrap dts
>>> file in zImage" patch.
>>>
>>> What about a CONFIG_WANT_DEVICE_TREE that platforms can select if
>>> they
>>> want to ask the user for a device tree?
>> Wouldn't we want this for all systems that don't have true OF?
>
> Not if there's a non-OF firmware that doesn't need to go through
> the bootwrapper (such as modern u-boot).
I guess my intent with asking for the CONFIG_DEVICE_TREE to be more
generic was to have it point to a .dts for the board/system in
question. The kernel proper wouldn't ever use this, but any other
build mechanism could.
For example, I might have scripts outside of u-boot/kernel that build
my images to flash into a board and they could parse .config to get
the location of the .dts to create the dtb and produce my flash images.
- k
More information about the Linuxppc-dev
mailing list