From 2895c45486e4f6c99013bf319ff7277e51aad32d Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 24 Apr 2009 10:23:56 +0000 Subject: Another v3-style #ifdef in v2 to kill Signed-off-by: Patrick Georgi Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4204 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/boot/selfboot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boot/selfboot.c b/src/boot/selfboot.c index 09b3ea360d..19b6007be0 100644 --- a/src/boot/selfboot.c +++ b/src/boot/selfboot.c @@ -90,7 +90,7 @@ int cbfs_self_decompress(int algo, void *src,struct segment *new) return -1; switch(algo) { -#ifdef CONFIG_COMPRESSION_LZMA +#if CONFIG_COMPRESSED_PAYLOAD_LZMA==1 case CBFS_COMPRESS_LZMA: { unsigned long ulzma(unsigned char *src, unsigned char *dst); ulzma(src, dst); @@ -98,7 +98,7 @@ int cbfs_self_decompress(int algo, void *src,struct segment *new) } #endif -#ifdef CONFIG_COMPRESSION_NRV2B +#if CONFIG_COMPRESSED_PAYLOAD_NRV2B==1 case CBFS_COMPRESS_NRV2B: { unsigned long unrv2b(u8 *src, u8 *dst, unsigned long *ilen_p); unsigned long tmp; -- cgit v1.2.3