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:
parent
9fe20cb381
commit
bb626346ea
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue