Am Donnerstag 23 April 2009 18:47:28 schrieb Myles Watson:
> Acked-by: Myles Watson <[email protected]>
Committed in r4203.

It seems like src/boot/selfboot.c has the same #ifdefs that were just changed 
in src/lib/cbfs.c, but I didn't dare to adapt them in this commit.

The change is attached here and
Signed-off-by: Patrick Georgi <[email protected]>

Index: src/boot/selfboot.c
===================================================================
--- src/boot/selfboot.c	(Revision 4203)
+++ src/boot/selfboot.c	(Arbeitskopie)
@@ -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;
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to