[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
Wed Jul 21 07:35:41 CEST 2010


On Jul 17, 2010, at 10:00 PM, Jerry Van Baren wrote:

> Hi Kumar,
> 
> On 07/17/2010 11:49 AM, Kumar Gala wrote:
>> 
>> 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
> 
> 
> Looks OK to me.
> 
> Acked-by: Gerald Van Baren <vanbaren at cideas.com>
> 
> gvb

applied to 85xx

- k


More information about the U-Boot mailing list