]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: make decompressor debug output user selectable
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 16 Nov 2017 11:46:22 +0000 (11:46 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 21 Nov 2017 14:46:11 +0000 (14:46 +0000)
Make the decompressor debug output user selectable, otherwise merely
enabling DEBUG_LL causes the decompressor to become board specific,
thereby preventing a multi-platform kernel from booting.  Enabling
DEBUG_LL doesn't cause the kernel itself to become platform specific
unless EARLY_PRINTK is enabled, or one of the debugging routines is
added in a path that results in it being called.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/Kconfig.debug

index 6dcea8e8e941eabe79790f97e3e8f69ccd3220e9..fa021568d0514df62d99a6a619753268dd722472 100644 (file)
@@ -1757,9 +1757,9 @@ config DEBUG_UART_8250_FLOW_CONTROL
        default y if ARCH_EBSA110 || DEBUG_FOOTBRIDGE_COM1 || DEBUG_GEMINI || ARCH_RPC
 
 config DEBUG_UNCOMPRESS
-       bool
+       bool "Enable decompressor debugging via DEBUG_LL output"
        depends on ARCH_MULTIPLATFORM || PLAT_SAMSUNG || ARM_SINGLE_ARMV7M
-       default y if DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \
+       depends on DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \
                     (!DEBUG_TEGRA_UART || !ZBOOT_ROM) && \
                     !DEBUG_BRCMSTB_UART
        help