[coreboot-gerrit] Patch set updated for coreboot: 1989051 util/cbfstool: Fix "Bad segment type 53534220 Could not load payload".
Wei Hu (wei@aristanetworks.com)
gerrit at coreboot.org
Thu Apr 17 10:27:13 CEST 2014
Wei Hu (wei at aristanetworks.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5528
-gerrit
commit 1989051224499a3e6800b0937a97cd38439b0455
Author: Wei Hu <wei at aristanetworks.com>
Date: Wed Apr 16 22:52:59 2014 -0700
util/cbfstool: Fix "Bad segment type 53534220 Could not load payload".
The magic number mismatch was introduced by commit a8a133
(Add section header parsing and use it in the mk-payload step).
Change-Id: I73b0adb969816e9d130f19f48e175c57124e2f3a
Signed-off-by: Wei Hu <wei at aristanetworks.com>
---
util/cbfstool/cbfs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h
index a561b2b..1ce615a 100644
--- a/util/cbfstool/cbfs.h
+++ b/util/cbfstool/cbfs.h
@@ -73,7 +73,7 @@ struct cbfs_stage {
#define PAYLOAD_SEGMENT_CODE makemagic('C', 'O', 'D', 'E')
#define PAYLOAD_SEGMENT_DATA makemagic('D', 'A', 'T', 'A')
-#define PAYLOAD_SEGMENT_BSS makemagic(' ', 'B', 'S', 'S')
+#define PAYLOAD_SEGMENT_BSS makemagic('B', 'S', 'S', ' ')
#define PAYLOAD_SEGMENT_PARAMS makemagic('P', 'A', 'R', 'A')
#define PAYLOAD_SEGMENT_ENTRY makemagic('E', 'N', 'T', 'R')
More information about the coreboot-gerrit
mailing list