Skip to content

Commit a61cbf5

Browse files
Daniel ThompsonRussell King
authored andcommitted
ARM: 8274/1: Fix DEBUG_LL for multi-platform kernels (without PL01X)
When building a multi_v7_defconfig kernel it is not possible to configure DEBUG_LL to use any serial device except a ARM Primecell PL01X, or more accurately and worse, it is possible to configure a different serial device but KConfig does not honour this request. In fact this also overrides the user selection for some of the single platform kernels, for example I don't think DEBUG_LL can be targeted at ICE or semihosted supervisor for ARCH_VERSATILE. This happens because DEBUG_UART_PL01X is automatically enabled by some architectures and this means user decisions made regarding the DEBUG_LL backend will be overridden. Problem is fixed by removing the automatic enabling of this option. Signed-off-by: Daniel Thompson <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Russell King <[email protected]>
1 parent d02fde7 commit a61cbf5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

arch/arm/Kconfig.debug

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,12 +1263,7 @@ config DEBUG_LL_INCLUDE
12631263

12641264
# Compatibility options for PL01x
12651265
config DEBUG_UART_PL01X
1266-
def_bool ARCH_EP93XX || \
1267-
ARCH_INTEGRATOR || \
1268-
ARCH_SPEAR3XX || \
1269-
ARCH_SPEAR6XX || \
1270-
ARCH_SPEAR13XX || \
1271-
ARCH_VERSATILE
1266+
bool
12721267

12731268
# Compatibility options for 8250
12741269
config DEBUG_UART_8250

0 commit comments

Comments
 (0)