[U-Boot] [RFC PATCH v2 0/6] Run-time configuration of U-Boot via a flat device tree (fdt)

Simon Glass
2011-09-13T18:28:19Z

Hi,

On Mon, Sep 12, 2011 at 3:04 PM, Simon Glass <sjg@chromium.org> wrote:
> At present in U-Boot configuration is mostly done using CONFIG options in the
> board file. This patch set aims to make it possible for a single U-Boot
> binary to support multiple boards, with the exact configuration of each board
> controlled by a flat device tree (fdt). This is the approach recently taken
> by the ARM Linux kernel and has been used by PowerPC for some time.
>
> The fdt is a convenient vehicle for implementing run-time configuration for
> three reasons. Firstly it is easy to use, being a simple text file. It is
> extensible since it consists of nodes and properties in a nice hierarchical
> format.
>
[snip]
> ?arch/arm/include/asm/global_data.h ? ? ? ?| ? ?1 +
> ?arch/arm/lib/board.c ? ? ? ? ? ? ? ? ? ? ?| ? 22 ++++

Is anyone interested in trying this out with PowerPC or another architecture?

I don't have the ability to test anything other than ARM, but it would
nice to include support fdt-based run-time config for at least a few
architectures. I am hoping that the changes to the two files above can
be replicated and everything will 'just work', but it is far from
certain.

Regards,
Simon