[PATCH 1/6] ARM: move ARCH config definitions into mach dirs

Tony Lindgren tony at atomide.com
Tue Sep 4 13:50:14 EDT 2012


* Russell King - ARM Linux <linux at arm.linux.org.uk> [120902 01:54]:
> On Fri, Aug 31, 2012 at 07:48:42PM -0500, Rob Herring wrote:
> > On 08/30/2012 02:28 PM, Russell King - ARM Linux wrote:
> > > It's not only about virtual addresses, it's about physical addresses too,
> > > and we can't dictate that all hardware exposes a UART at any particular
> > > physical address.
> > 
> > We have 3 things to track for each platform: the type of uart, the
> > uart's phys address, and the virtual address we map it to.
> 
> Right, thanks for explaining it more properly the second time around.
> 
> However, you actually have four things to track:
> 1. The physical address
> 2. The virtual address
> 3. The inter-register offset
> 4. The type of the UART

And these can be machine specific, not platform specific. Some omaps
have an external uart only where the address and register shift are
different from the internal ports.

Regards,

Tony



More information about the linux-arm-kernel mailing list