From 2062473492501e2a7a6f26aab3eb333cb35b2429 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 17 Jul 2015 21:35:46 +0200 Subject: cbfstool: move fill value to cbfs.h Change-Id: Ie05db6d43219c65d08e2221009875f81eb29b630 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10968 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- util/cbfstool/cbfs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util/cbfstool/cbfs.h') diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h index 1996b1c658..85d95f6498 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 -- cgit v1.2.1