On 10/12/2010 11:44 PM, Grant Likely wrote:
This patch refactors the early init parsing of the chosen node so that
architectures aren't forced to provide an empty implementation of
early_init_dt_scan_chosen_arch.  Instead, if an architecture wants to
do something different, it can either use a wrapper function around
early_init_dt_scan_chosen(), or it can replace it altogether.

This patch was written in preparation to adding device tree support to
both x86 ad MIPS.

Signed-off-by: Grant Likely<[email protected]>

In conjunction with my 'MIPS: Add some irq definitins required by OF' and the '2/2 of/mips: Add device tree support to MIPS' patches, I can enable CONFIG_USE_OF, and build and run a kernel on my Octeon. I haven't started using the device tree yet, but this is a good start.

You can add my...

Tested-by: David Daney <[email protected]>


---
  arch/microblaze/kernel/prom.c |    5 -----
  arch/powerpc/kernel/prom.c    |   12 ++++++++++--
  drivers/of/fdt.c              |    2 --
  include/linux/of_fdt.h        |    2 +-
  4 files changed, 11 insertions(+), 10 deletions(-)
[...]
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to