]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7671/1: use Kconfig to select uncompress.h
authorShawn Guo <shawn.guo@linaro.org>
Thu, 14 Mar 2013 07:47:27 +0000 (08:47 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 15 Mar 2013 17:18:51 +0000 (17:18 +0000)
commita90f083751ed2db03856ac9dfef706ecef9db407
tree7983efe8f151ea8decb91c219b4b61ee8dec2d6a
parent025d7a061973fce562117d8afddd51b81bc911f1
ARM: 7671/1: use Kconfig to select uncompress.h

Following the approach handling DEBUG_LL inclusion, the patch creates
a Kconfig symbol CONFIG_UNCOMPRESS_INCLUDE for choosing the correct
uncompress header.  For traditional build, mach/uncompress.h will be
included in arch/arm/boot/compressed/misc.c.  For multiplatform build,
debug/uncompress.h which contains a suite of empty functions will be
used.  In this way, a platform with particular uncompress.h
implementation could choose its own uncompress.h with this Kconfig
option.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig.debug
arch/arm/boot/compressed/misc.c
arch/arm/include/debug/uncompress.h [new file with mode: 0644]