[PATCH] i.MX25: Define address mapping macros

Baruch Siach baruch at tkos.co.il
Thu Mar 25 14:01:32 EDT 2010


Hi Matthias,

On Thu, Mar 25, 2010 at 12:50:53PM +0100, Matthias Kaehlcke wrote:
> El Thu, Mar 25, 2010 at 10:36:17AM +0100 Uwe Kleine-König ha dit:
> 
> > On Thu, Mar 25, 2010 at 09:50:57AM +0100, Matthias Kaehlcke wrote:
> > > Add macros for mapping physical addresses of i.MX25 registers to virtual
> > > addresses
> > Where do you need them?  MX25_IO_ADDRESS isn't enough?
> 
> MX25_AIPS1_IO_ADDRESS is used in arch/arm/plat-mxc/include/mach/debug-macro.S:
> 
> #define UART_VADDR  MX25_AIPS1_IO_ADDRESS(UART1_BASE_ADDR)
> 
> i added the other two for completeness

See http://thread.gmane.org/gmane.linux.ports.arm.kernel/75691 for a different 
approach, and discussion of the general problem.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the linux-arm-kernel mailing list