diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2023-03-01 10:19:49 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-03-07 10:39:30 +0100 |
commit | c041311a5f64ac5222066cf6615cead91695c91c (patch) | |
tree | 657667f41172157a3f232e198825c43207d1c72a /common | |
parent | 89094b2a299ba7921bbded37e38a5cf17194e155 (diff) | |
download | barebox-c041311a5f64ac5222066cf6615cead91695c91c.tar.gz |
ARM: omap: Only provide PUTC_LL() when activated
With multi-arch support we must make sure we provide exactly one
PUTC_LL() function as indicated by the "Kernel low-level debugging port"
Kconfig choice. Make sure that the omap specific debug_ll.h only
provides PUTC_LL() when specified.
The omap specific debug_ll.h also provides other functions needed
by board code regardless if the omap debug_ll port is enabled or
not, so include it explicitly where needed.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 25f78cca46..eeb33f3042 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1255,6 +1255,9 @@ config DEBUG_IMX_UART config DEBUG_ROCKCHIP_UART bool +config DEBUG_OMAP_UART + bool + choice prompt "Kernel low-level debugging port" depends on DEBUG_LL @@ -1365,6 +1368,7 @@ config DEBUG_VF610_UART config DEBUG_OMAP3_UART bool "OMAP3 Debug UART" depends on ARCH_OMAP3 + select DEBUG_OMAP_UART help Say Y here if you want kernel low-level debugging support on OMAP3. @@ -1372,6 +1376,7 @@ config DEBUG_OMAP3_UART config DEBUG_OMAP4_UART bool "OMAP4 Debug UART" depends on ARCH_OMAP4 + select DEBUG_OMAP_UART help Say Y here if you want kernel low-level debugging support on OMAP4. @@ -1379,6 +1384,7 @@ config DEBUG_OMAP4_UART config DEBUG_AM33XX_UART bool "AM33XX Debug UART" depends on ARCH_AM33XX + select DEBUG_OMAP_UART help Say Y here if you want kernel low-level debugging support on AM33XX. |