diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2015-07-17 21:35:46 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-07-18 09:39:33 +0200 |
commit | 2062473492501e2a7a6f26aab3eb333cb35b2429 (patch) | |
tree | 7003d841ae05e54725d328b066fc8667bfdb0f36 /util/cbfstool/cbfs.h | |
parent | ef21e77bbcbc32ba0722ba961dfe2d6672bf05d2 (diff) | |
download | coreboot-2062473492501e2a7a6f26aab3eb333cb35b2429.tar.gz coreboot-2062473492501e2a7a6f26aab3eb333cb35b2429.tar.bz2 coreboot-2062473492501e2a7a6f26aab3eb333cb35b2429.zip |
cbfstool: move fill value to cbfs.h
Change-Id: Ie05db6d43219c65d08e2221009875f81eb29b630
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/10968
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h index 1996b1c658b4..85d95f6498ae 100644 --- a/util/cbfstool/cbfs.h +++ b/util/cbfstool/cbfs.h @@ -38,6 +38,9 @@ #define __PACKED __attribute__((packed)) #endif +/* To make CBFS more friendly to ROM, fill -1 (0xFF) instead of zero. */ +#define CBFS_CONTENT_DEFAULT_VALUE (-1) + // Alignment (in bytes) to be used when no master header is present #define CBFS_ENTRY_ALIGNMENT 64 |