diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-04-24 10:23:56 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-04-24 10:23:56 +0000 |
commit | 2895c45486e4f6c99013bf319ff7277e51aad32d (patch) | |
tree | 2057b8a1060dfab92beafa2ffd9450ea1b8fd3c2 | |
parent | 7d0ff4c12623300886516edae6e124c950be3c86 (diff) |
Another v3-style #ifdef in v2 to kill
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4204 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/boot/selfboot.c | 4 |
1 files 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; |