summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2013-01-04 12:33:03 +0800
committerDavid Hendricks <dhendrix@chromium.org>2013-01-04 06:27:33 +0100
commit086842a13e50d2c870ddf749c036f8c321d2915f (patch)
treec7a0086fa7fe72f92c9c7ce99633ae4804aef157 /payloads/libpayload
parent858b65028e02d4e2460a9f6033aec570006b9d0b (diff)
downloadcoreboot-086842a13e50d2c870ddf749c036f8c321d2915f.tar.xz
Change "VERSION*" to more determined name "CBFS_HEADER_VERSION*".
The 'VERSION' in CBFS header file is confusing and may conflict when being used in libpayload. Change-Id: I24cce0cd73540e38d96f222df0a65414b16f6260 Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: http://review.coreboot.org/2098 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/include/cbfs_core.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/payloads/libpayload/include/cbfs_core.h b/payloads/libpayload/include/cbfs_core.h
index 9a21a7885e..a3c54b18f7 100644
--- a/payloads/libpayload/include/cbfs_core.h
+++ b/payloads/libpayload/include/cbfs_core.h
@@ -88,9 +88,9 @@
/* FIXME: This could also be 0xFFFF0000 with HIVECS enabled */
#define CBFS_HEADPTR_ADDR 0x0000000C
#endif
-#define VERSION1 0x31313131
-#define VERSION2 0x31313132
-#define VERSION VERSION2
+#define CBFS_HEADER_VERSION1 0x31313131
+#define CBFS_HEADER_VERSION2 0x31313132
+#define CBFS_HEADER_VERSION CBFS_HEADER_VERSION2
struct cbfs_header {
uint32_t magic;