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
This commit is contained in:
Patrick Georgi 2009-04-24 10:23:56 +00:00
parent 7d0ff4c126
commit 2895c45486
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ int cbfs_self_decompress(int algo, void *src,struct segment *new)
return -1; return -1;
switch(algo) { switch(algo) {
#ifdef CONFIG_COMPRESSION_LZMA #if CONFIG_COMPRESSED_PAYLOAD_LZMA==1
case CBFS_COMPRESS_LZMA: { case CBFS_COMPRESS_LZMA: {
unsigned long ulzma(unsigned char *src, unsigned char *dst); unsigned long ulzma(unsigned char *src, unsigned char *dst);
ulzma(src, dst); ulzma(src, dst);
@ -98,7 +98,7 @@ int cbfs_self_decompress(int algo, void *src,struct segment *new)
} }
#endif #endif
#ifdef CONFIG_COMPRESSION_NRV2B #if CONFIG_COMPRESSED_PAYLOAD_NRV2B==1
case CBFS_COMPRESS_NRV2B: { case CBFS_COMPRESS_NRV2B: {
unsigned long unrv2b(u8 *src, u8 *dst, unsigned long *ilen_p); unsigned long unrv2b(u8 *src, u8 *dst, unsigned long *ilen_p);
unsigned long tmp; unsigned long tmp;