]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: debug-ll: rework gemini 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:01 +0000 (23:42 +0100)
commitb55508142d20279180543875b06e6812ac002526
tree87d957d44fa0045f668f750d2d1f21e4c1ccf902
parent4f0563f913d246bb0f899c2e63da1bee7921d696
ARM: debug-ll: rework gemini handling

Gemini can not yet be configured in a multiplatform kernel, but
if we ever get there, enabling one of the gemini 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 gemini default addresses and
the flow control settings 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: Hans Ulli Kroll <ulli.kroll@googlemail.com>
arch/arm/Kconfig.debug