summaryrefslogtreecommitdiff
path: root/util/cbfstool/cbfs.h
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-07-14 22:18:23 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-07-15 16:34:30 +0200
commit45acb34ffce5ffef1e574305b4e18af6d26df46b (patch)
tree46c12f5ca157bd0d9053bb9e369bda63f8d206d0 /util/cbfstool/cbfs.h
parentff9afb3d8ecdfd03933effc583593a7c9b73e48e (diff)
downloadcoreboot-45acb34ffce5ffef1e574305b4e18af6d26df46b.tar.xz
cbfstool: fix alignment to 64 byte
It's not like we _ever_ changed it, so drop the option and make cbfstool use the default. always. Change-Id: Ia1b99fda03d5852137a362422e979f4a4dffc5ed Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/10918 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/cbfstool/cbfs.h')
-rw-r--r--util/cbfstool/cbfs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h
index 8092057d14..14a7a37b2b 100644
--- a/util/cbfstool/cbfs.h
+++ b/util/cbfstool/cbfs.h
@@ -47,12 +47,14 @@
#define CBFS_HEADER_VERSION2 0x31313132
#define CBFS_HEADER_VERSION CBFS_HEADER_VERSION2
+#define CBFS_ALIGNMENT 64
+
struct cbfs_header {
uint32_t magic;
uint32_t version;
uint32_t romsize;
uint32_t bootblocksize;
- uint32_t align;
+ uint32_t align; /* hard coded to 64 byte */
uint32_t offset;
uint32_t architecture; /* Version 2 */
uint32_t pad[1];