[U-Boot] [PATCH v3 3/6] fdt: Add support for a separate device tree (CONFIG_OF_SEPARATE)

Simon Glass sjg at chromium.org
Sat Oct 15 17:12:55 CEST 2011


Hi Stephen,

On Thu, Oct 13, 2011 at 2:36 PM, Stephen Warren <swarren at nvidia.com> wrote:
> Simon Glass wrote at Tuesday, October 11, 2011 4:26 PM:
>> This adds support for an FDT to be build as a separate binary file called
>> u-boot.dtb. This can be concatenated with the U-Boot binary to provide a
>> device tree located at run-time by U-Boot. The Makefile is modified to
>> provide this file in u-boot-dtb.bin.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>> Changes in v2:
>> - Modify Makefile to create combined U-boot/fdt (u-boot-dtb.bin)
>> - Add note about CONFIG_ARCH_DEVICE_TREE
>>
>>  .gitignore             |    1 +
>>  Makefile               |    8 ++
>>  README                 |   16 ++++-
>>  doc/README.fdt-control |  172 ++++++++++++++++++++++++++++++++++++++++++++++++
>>  4 files changed, 195 insertions(+), 2 deletions(-)
>>  create mode 100644 doc/README.fdt-control
>
> Should the documentation be in the first patch; it seems a little random
> to include it in one of the two somewhat equivalent patches that add
> build support for a DTB transport mechanism.

Unfortunately the first patch is ARM-specific so I probably should not
put it there (maybe this is just a minor issue, I'm not sure). I have
not done patches to enable fdt in all architectures so far and I'm not
sure this is wanted / required. I will move the README up one patch to
the first non-ARM-specific patch.

Regards,
Simon

>
> --
> nvpublic
>
>


More information about the U-Boot mailing list