Author: oxygene Date: 2009-04-24 12:23:56 +0200 (Fri, 24 Apr 2009) New Revision: 4204
Modified: trunk/coreboot-v2/src/boot/selfboot.c Log: Another v3-style #ifdef in v2 to kill
Signed-off-by: Patrick Georgi patrick.georgi@coresystems.de Acked-by: Peter Stuge peter@stuge.se
Modified: trunk/coreboot-v2/src/boot/selfboot.c =================================================================== --- trunk/coreboot-v2/src/boot/selfboot.c 2009-04-24 06:32:29 UTC (rev 4203) +++ trunk/coreboot-v2/src/boot/selfboot.c 2009-04-24 10:23:56 UTC (rev 4204) @@ -90,7 +90,7 @@ 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 @@ } #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;