]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: debug-ll: fix BCM63xx entry for multiplatform
authorArnd Bergmann <arnd@arndb.de>
Mon, 18 Jan 2016 09:45:00 +0000 (10:45 +0100)
committerArnd Bergmann <arnd@arndb.de>
Mon, 18 Jan 2016 20:07:21 +0000 (21:07 +0100)
commit8ace26ea5f5ba471f5cd753feedf8e3da2b4c078
treeca0c8c40c61daa4d7e92b1ef53873c29002a94af
parenta8163dd625feedf4efed2ce3bd7e1e703f1dbee0
ARM: debug-ll: fix BCM63xx entry for multiplatform

During my randconfig build testing, I found that a kernel with
DEBUG_AT91_UART and ARCH_BCM_63XX fails to build:

arch/arm/include/debug/at91.S:18:0: error: "CONFIG_DEBUG_UART_VIRT" redefined [-Werror]

It turns out that the DEBUG_UART_BCM63XX option is enabled whenever
the ARCH_BCM_63XX is, and that breaks multiplatform kernels because
we then end up using the UART address from BCM63XX rather than the
one we actually configured (if any).

This changes the BCM63XX options to only have one Kconfig option,
and only enable that if the user explicitly turns it on.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 63f23cb99b39 ("ARM: BCM63XX: add low-level UART debug support")
Cc: stable@vger.kernel.org
arch/arm/Kconfig.debug