Re: [U-Boot] [PATCH 3/3] ppc: Use addrmap in virt_to_phys and map_physmem.

2008-11-24 Thread Scott Wood
On Mon, Nov 24, 2008 at 10:47:40AM -0600, Kumar Gala wrote: > @@ -287,7 +291,11 @@ extern inline void out_be32(volatile unsigned __iomem > *addr, int val) > static inline void * > map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags) > { > +#ifdef CONFIG_ADDR_MAP > + return

[U-Boot] [PATCH 3/3] ppc: Use addrmap in virt_to_phys and map_physmem.

2008-11-24 Thread Kumar Gala
If we have addr map support enabled use the mapping functions to implement virt_to_phys() and map_physmem(). Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- include/asm-ppc/io.h | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/include/asm-ppc/io.h b/include/a