[coreboot-gerrit] New patch to review for coreboot: cbfstool: move fill value to cbfs.h

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Fri Jul 17 22:08:46 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10968

-gerrit

commit 120181599b189aac8dfd0811ee30d1f0c4d7e818
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Fri Jul 17 21:35:46 2015 +0200

    cbfstool: move fill value to cbfs.h
    
    Change-Id: Ie05db6d43219c65d08e2221009875f81eb29b630
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 util/cbfstool/cbfs.h       | 3 +++
 util/cbfstool/cbfs_image.c | 3 ---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h
index e63db37..f63b881 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
 
diff --git a/util/cbfstool/cbfs_image.c b/util/cbfstool/cbfs_image.c
index 5bd98ab..b338e9a 100644
--- a/util/cbfstool/cbfs_image.c
+++ b/util/cbfstool/cbfs_image.c
@@ -50,9 +50,6 @@
  * (old) cbfstool. */
 #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 */
 
 struct typedesc_t {



More information about the coreboot-gerrit mailing list