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>
This commit is contained in:
Patrick Georgi 2015-07-17 21:35:46 +02:00 committed by Patrick Georgi
parent ef21e77bbc
commit 2062473492
2 changed files with 3 additions and 3 deletions

View File

@ -38,6 +38,9 @@
#define __PACKED __attribute__((packed)) #define __PACKED __attribute__((packed))
#endif #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 // Alignment (in bytes) to be used when no master header is present
#define CBFS_ENTRY_ALIGNMENT 64 #define CBFS_ENTRY_ALIGNMENT 64

View File

@ -50,9 +50,6 @@
* (old) cbfstool. */ * (old) cbfstool. */
#define CBFS_FILENAME_ALIGN (16) #define CBFS_FILENAME_ALIGN (16)
/* To make CBFS more friendly to ROM, fill -1 (0xFF) instead of zero. */
#define CBFS_CONTENT_DEFAULT_VALUE (-1)
/* Type and format */ /* Type and format */
struct typedesc_t { struct typedesc_t {