summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2012-12-07 17:26:41 -0800
committerRonald G. Minnich <rminnich@gmail.com>2012-12-08 06:50:02 +0100
commitbb626346ea32479cab9801c183317a383c07196f (patch)
treeafa11c0bb57958c2f94858f8bec051dd47bfc0d1 /src/include
parent9fe20cb3814df88f181648860102a9da249a4da1 (diff)
cbfs_core.h: support for ARMv7 CBFS master header
Change-Id: I59626200b4a92d90b46625f8dcc2ed28e6376e46 Signed-off-by: David Hendricks <dhendrix@chromium.org> Signed-off-by: Stefan Reinauer <reinauer@google.com> Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-on: http://review.coreboot.org/2008 Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cbfs_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/cbfs_core.h b/src/include/cbfs_core.h
index 32f2670b5b..9a21a7885e 100644
--- a/src/include/cbfs_core.h
+++ b/src/include/cbfs_core.h
@@ -84,6 +84,9 @@
#define CBFS_HEADER_MAGIC 0x4F524243
#if CONFIG_ARCH_X86
#define CBFS_HEADPTR_ADDR 0xFFFFFFFC
+#elif CONFIG_ARCH_ARMV7
+/* FIXME: This could also be 0xFFFF0000 with HIVECS enabled */
+#define CBFS_HEADPTR_ADDR 0x0000000C
#endif
#define VERSION1 0x31313131
#define VERSION2 0x31313132