OSDN Git Service

ARM: debug-ll: rework integrator/versatile 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:41:58 +0000 (23:41 +0100)
commit4db22c1033ce240dd75237fe911375671c191224
tree2407a172e5c9dd9ddac91984095c025e311916ad
parent375d84cf8689c9701ae6c8813bbea6b6d1e436a4
ARM: debug-ll: rework integrator/versatile handling

Enabling one of the integrator platforms in a multiplatform kernel
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 integrator default addresses only
if we have also picked the respective Kconfig symbols introduced
here. Versatile is not yet part of multiplatform, but hopefully
soon will be, so we do the same change for versatile as well.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/Kconfig.debug