* [PATCH] ARM: stm32: fix decompressor build
@ 2015-05-18 15:15 Arnd Bergmann
2015-05-19 8:59 ` Maxime Coquelin
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2015-05-18 15:15 UTC (permalink / raw)
To: linux-arm-kernel
The stm32 defconfig uses XIP_KERNEL, but if this is turned off
by a user, we get this error when building the zImage decompressor:
arch/arm/boot/compressed/misc.c:28:35: fatal error: mach/uncompress.h: No such file or directory
To avoid the error, this adds stm32 to the list of platforms using
the default DEBUG_LL based decompressor output.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
I'd like to apply this directly to next/soc
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 375a428aa733..91f0df3edbe0 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -1680,7 +1680,8 @@ config UNCOMPRESS_INCLUDE
string
default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \
PLAT_SAMSUNG || ARCH_EFM32 || \
- ARCH_SHMOBILE_LEGACY || ARCH_LPC18XX
+ ARCH_SHMOBILE_LEGACY || \
+ ARCH_LPC18XX || ARCH_STM32
default "mach/uncompress.h"
config EARLY_PRINTK
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: stm32: fix decompressor build
2015-05-18 15:15 [PATCH] ARM: stm32: fix decompressor build Arnd Bergmann
@ 2015-05-19 8:59 ` Maxime Coquelin
0 siblings, 0 replies; 2+ messages in thread
From: Maxime Coquelin @ 2015-05-19 8:59 UTC (permalink / raw)
To: linux-arm-kernel
Hi Arnd,
2015-05-18 17:15 GMT+02:00 Arnd Bergmann <arnd@arndb.de>:
> The stm32 defconfig uses XIP_KERNEL, but if this is turned off
> by a user, we get this error when building the zImage decompressor:
>
> arch/arm/boot/compressed/misc.c:28:35: fatal error: mach/uncompress.h: No such file or directory
>
> To avoid the error, this adds stm32 to the list of platforms using
> the default DEBUG_LL based decompressor output.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> I'd like to apply this directly to next/soc
>
Indeed, I tested only with XIP_KERNEL..
The patch looks good to me:
Acked-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Thanks,
Maxime
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-19 8:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-18 15:15 [PATCH] ARM: stm32: fix decompressor build Arnd Bergmann
2015-05-19 8:59 ` Maxime Coquelin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox