summaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/devtree.c
Commit message (Collapse)AuthorAgeFilesLines
* [POWERPC] bootwrapper: Add dt_xlate_reg(), and use it to find serial registers.Scott Wood2007-04-131-0/+178
| | | | | | | | | | dt_xlate_reg() uses the ranges properties of a node's parentage to find the absolute physical address of the node's registers. The ns16550 driver uses this when no virtual-reg property is found. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
* [POWERPC] Add device tree utility functions to zImageDavid Gibson2007-04-131-0/+111
This patch adds a library of useful device tree manipulation functions to the zImage library, for use by platform code. These functions are based on the hooks already in dt_ops, so they're not dependent on a particular device tree implementation. This patch also slightly streamlines the code in main.c using these new functions. This is a consolidation of my work in this area with Scott Wood's patches to a very similar end. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>