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)
This commit is contained in:
Stefan Reinauer 2012-12-07 17:26:41 -08:00 committed by Ronald G. Minnich
parent 9fe20cb381
commit bb626346ea
1 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,9 @@
#define CBFS_HEADER_MAGIC 0x4F524243 #define CBFS_HEADER_MAGIC 0x4F524243
#if CONFIG_ARCH_X86 #if CONFIG_ARCH_X86
#define CBFS_HEADPTR_ADDR 0xFFFFFFFC #define CBFS_HEADPTR_ADDR 0xFFFFFFFC
#elif CONFIG_ARCH_ARMV7
/* FIXME: This could also be 0xFFFF0000 with HIVECS enabled */
#define CBFS_HEADPTR_ADDR 0x0000000C
#endif #endif
#define VERSION1 0x31313131 #define VERSION1 0x31313131
#define VERSION2 0x31313132 #define VERSION2 0x31313132