summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2012-11-30 12:20:45 -0800
committerDavid Hendricks <dhendrix@chromium.org>2012-11-30 22:50:53 +0100
commit0a92f89f5dfa559eb012015235209e53e87e128d (patch)
tree69905ca6526551a14893696c3dfeb39d821f61b2
parent1e753294c4c7bbc825a413ab62c47878104f984f (diff)
fix #if for target architecture in libpayload
This bug was introduced when we copied cbfs_core.h from cbfsutil to libpayload. Change-Id: I9b5d00d0dbdb969644ce46ad6ac2a84b366b5cd7 Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/1958 Reviewed-by: Dave Frodin <dave.frodin@se-eng.com> Tested-by: build bot (Jenkins)
-rw-r--r--payloads/libpayload/include/cbfs_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/include/cbfs_core.h b/payloads/libpayload/include/cbfs_core.h
index 32f2670b5b..5858783bc6 100644
--- a/payloads/libpayload/include/cbfs_core.h
+++ b/payloads/libpayload/include/cbfs_core.h
@@ -82,7 +82,7 @@
so we can easily find it. */
#define CBFS_HEADER_MAGIC 0x4F524243
-#if CONFIG_ARCH_X86
+#if CONFIG_TARGET_I386
#define CBFS_HEADPTR_ADDR 0xFFFFFFFC
#endif
#define VERSION1 0x31313131