Patchwork [09/62] ARM: efm32: allow uncompress debug output

login
register
mail settings
Submitter Arnd Bergmann
Date March 19, 2014, 7:29 p.m.
Message ID <1395257399-359545-10-git-send-email-arnd@arndb.de>
Download mbox | patch
Permalink /patch/331866/
State New
Headers show

Comments

Arnd Bergmann - March 19, 2014, 7:29 p.m.
efm32 has no mach/uncompress.h, but we can trivially use
the fallback to the ll_debug code by just allowing this
option in Kconfig.

Found during randconfig testing.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Uwe Kleine-König <kernel@pengutronix.de>
---
 arch/arm/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Uwe Kleine-König - March 20, 2014, 8:51 p.m.
On Wed, Mar 19, 2014 at 08:29:06PM +0100, Arnd Bergmann wrote:
> efm32 has no mach/uncompress.h, but we can trivially use
> the fallback to the ll_debug code by just allowing this
> option in Kconfig.
> 
> Found during randconfig testing.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Uwe Kleine-König <kernel@pengutronix.de>
I didn't test it (and in fact I cannot because there is too little RAM
to run a zImage on my board[1]) but the change looks good for a board
having more RAM, so

Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

[1] maybe it would run long enough to see some output, but meh

Patch

diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index dbb6f15..8983919 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -1158,7 +1158,7 @@  config DEBUG_UNCOMPRESS
 config UNCOMPRESS_INCLUDE
 	string
 	default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \
-					ARCH_EXYNOS
+					ARCH_EXYNOS || ARCH_EFM32
 	default "mach/uncompress.h"
 
 config EARLY_PRINTK