aboutsummaryrefslogtreecommitdiff
path: root/src/boot/selfboot.c
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2011-04-21 21:26:58 +0000
committerStefan Reinauer <stepan@openbios.org>2011-04-21 21:26:58 +0000
commit3e4fb9d1a12c6a4b69702badc7223fec3b6e8ddb (patch)
tree31e60c2235aa41d0092878e762c749172e6a527f /src/boot/selfboot.c
parentd4814bd41c080fb9dda87c762fcaecf4e72fc996 (diff)
more ifdef -> if fixes.
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6537 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/boot/selfboot.c')
-rw-r--r--src/boot/selfboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/selfboot.c b/src/boot/selfboot.c
index f8be72c77c..5f7a8f11f5 100644
--- a/src/boot/selfboot.c
+++ b/src/boot/selfboot.c
@@ -30,7 +30,7 @@
#include <cbfs.h>
#include <lib.h>
-#ifndef CONFIG_BIG_ENDIAN
+#if !CONFIG_BIG_ENDIAN
#define ntohl(x) ( ((x&0xff)<<24) | ((x&0xff00)<<8) | \
((x&0xff0000) >> 8) | ((x&0xff000000) >> 24) )
#else
@@ -477,7 +477,7 @@ static int load_self_segments(
return 0;
break;
}
-#if CONFIG_COMPRESSED_PAYLOAD_NRV2B==1
+#if CONFIG_COMPRESSED_PAYLOAD_NRV2B
case CBFS_COMPRESS_NRV2B: {
printk(BIOS_DEBUG, "using NRV2B\n");
unsigned long unrv2b(u8 *src, u8 *dst, unsigned long *ilen_p);