[U-Boot] [PATCH 1/2] fdt: Add fdt_translate_address to convert reg node to cpu phys addr

Kumar Gala galak at kernel.crashing.org
Sat Jul 17 17:49:04 CEST 2010


On Jul 4, 2010, at 1:18 PM, Kumar Gala wrote:

> This code is extracted out of the Linux Kernel code from
> arch/powerpc/kernel/prom_parse.c.
> 
> We maintain some of the same structure to support multiple bus types even
> though we only have one in the current code.  In the future we might want
> to translate across a PCI bus and thus it will be easier to add that
> functionality back in.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> common/fdt_support.c  |  264 +++++++++++++++++++++++++++++++++++++++++++++++++
> include/fdt_support.h |    1 +
> 2 files changed, 265 insertions(+), 0 deletions(-)

Jerry,

Any comments?

- k


More information about the U-Boot mailing list