Skip to content
Commit 59bd4c38 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarVladimir Zapolskiy <vz@mleia.com>
parent d7175a3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment