• Shawn Guo's avatar
    ARM: 7671/1: use Kconfig to select uncompress.h · 615967b0
    Shawn Guo authored
    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: default avatarShawn Guo <shawn.guo@linaro.org>
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    615967b0
misc.c 2.89 KB