]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: debug-ll: rework lpc32xx handling
authorArnd Bergmann <arnd@arndb.de>
Thu, 3 Dec 2015 16:54:05 +0000 (17:54 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 15 Dec 2015 22:42:03 +0000 (23:42 +0100)
commit59bd4c3827f42c19e530326761e7094eaa28aac3
tree70d2b89c9c906a1b0f0342348cd3d536c63b4a32
parentd7175a3b79ef55e3f755e956d82b7efcbfbd4701
ARM: debug-ll: rework lpc32xx handling

LPC32xx can not yet be configured in a multiplatform kernel, but
if we ever get there, enabling one of the LPC32xx platforms
while trying to use DEBUG_LL for another platform can default to
the wrong UART address, as the options are purely based on the
architecture being enabled or not.

This changes the logic to use the LPC32xx default addresses only
if we have also picked the respective Kconfig symbols introduced
here.

While we're at it, this also reorders the virtual address as
it should be.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
arch/arm/Kconfig.debug