summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Hu <wei@aristanetworks.com>2014-04-16 22:52:59 -0700
committerRonald G. Minnich <rminnich@gmail.com>2014-04-18 21:18:05 +0200
commit2ad6ee97638e24db67a02fdb2431fe6a56d7c24d (patch)
tree865d9803f4276a7bcc24dc38ff3a77ee950ad20e
parentdbe6336f908800ec028dc1a1087d6782e5a38851 (diff)
downloadcoreboot-2ad6ee97638e24db67a02fdb2431fe6a56d7c24d.tar.xz
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@aristanetworks.com> Reviewed-on: http://review.coreboot.org/5528 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
-rw-r--r--util/cbfstool/cbfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h
index a561b2b80b..73ee49c1aa 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')