Add a Kconfig symbol for the vexpress debug_ll UART port Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/include/asm/debug_ll.h | 6 ++++-- common/Kconfig | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/debug_ll.h b/arch/arm/include/asm/debug_ll.h index ba67c7e22d..81602d93d3 100644 --- a/arch/arm/include/asm/debug_ll.h +++ b/arch/arm/include/asm/debug_ll.h @@ -23,6 +23,10 @@ #include <mach/stm32mp/debug_ll.h> #endif +#ifdef CONFIG_DEBUG_VEXPRESS_UART +#include <mach/vexpress/debug_ll.h> +#endif + #ifdef CONFIG_DEBUG_QEMU_ARM64_VIRT #define DEBUG_LL_UART_ADDR 0x9000000 #include <debug_ll/pl011.h> @@ -34,8 +38,6 @@ #include <mach/bcm283x/debug_ll.h> #elif defined CONFIG_ARCH_ZYNQ #include <mach/zynq/debug_ll.h> -#elif defined CONFIG_ARCH_VEXPRESS -#include <mach/vexpress/debug_ll.h> #elif defined CONFIG_ARCH_VERSATILE #include <mach/versatile/debug_ll.h> #elif defined CONFIG_ARCH_LAYERSCAPE diff --git a/common/Kconfig b/common/Kconfig index a21559bf2c..9234f1239e 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1357,6 +1357,13 @@ config DEBUG_IMX8M_UART Say Y here if you want barebox low-level debugging support on i.MX8M*. +config DEBUG_VEXPRESS_UART + bool "Vexpress Debug UART" + depends on ARCH_VEXPRESS + help + Say Y here if you want barebox low-level debugging support + on Vexpress. + config DEBUG_VF610_UART bool "VF610 Debug UART" depends on ARCH_VF610 -- 2.30.2