]> git.ipfire.org Git - people/ms/u-boot.git/commit
fdt: Add fdt_translate_address to convert reg node to cpu phys addr
authorKumar Gala <galak@kernel.crashing.org>
Wed, 16 Jun 2010 19:27:38 +0000 (14:27 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 20 Jul 2010 09:40:00 +0000 (04:40 -0500)
commita0342c0804251c84a7ec1a2c78ea3bb30b5b5058
treeb0b34b3af15688e2120f80df8ba3045b382522f3
parent46f3e3851dac0c4acecf4192d8e13c8521ce98b4
fdt: Add fdt_translate_address to convert reg node to cpu phys addr

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@kernel.crashing.org>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
common/fdt_support.c
include/fdt_support.h