summaryrefslogtreecommitdiffstats
path: root/util/cbfstool/common.c
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2015-12-11 18:19:52 +0000
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-12-12 01:36:51 +0100
commited4aa043c6c2ca92f4dce4d8239b9d29e2c9d8d3 (patch)
tree9316b5a824d4c9ec051ae7cd8b35b6e0fab4a280 /util/cbfstool/common.c
parent8a3592eec3501a55cdc1799987f18489db86c25a (diff)
downloadcoreboot-ed4aa043c6c2ca92f4dce4d8239b9d29e2c9d8d3.tar.gz
coreboot-ed4aa043c6c2ca92f4dce4d8239b9d29e2c9d8d3.tar.bz2
coreboot-ed4aa043c6c2ca92f4dce4d8239b9d29e2c9d8d3.zip
cbfstool: add ppc64 support
The constant for ppc64 is 'hotstuff'. For many reasons. Note that line 2894 of elf.h is not indented. This is because in the original the line begins with a space. Checkpatch rejects that. Checkpatch also rejects changing the space to a tab because that makes it more than 80 chars. I rejected breaking the line because it makes it even less readable. All the changes forced by checkpatch make the code less readable. Herman Hollerith would be proud. Change-Id: I21f049fe8c655a30f17dff694b8f42789ad9efb7 Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-on: https://review.coreboot.org/12711 Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'util/cbfstool/common.c')
-rw-r--r--util/cbfstool/common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/cbfstool/common.c b/util/cbfstool/common.c
index 09a7449c1529..4534d8526a68 100644
--- a/util/cbfstool/common.c
+++ b/util/cbfstool/common.c
@@ -138,6 +138,9 @@ static struct {
{ CBFS_ARCHITECTURE_AARCH64, "arm64" },
{ CBFS_ARCHITECTURE_ARM, "arm" },
{ CBFS_ARCHITECTURE_MIPS, "mips" },
+ { CBFS_ARCHITECTURE_PPC64, "ppc64" },
+ /* power8 is a reasonable alias */
+ { CBFS_ARCHITECTURE_PPC64, "power8" },
{ CBFS_ARCHITECTURE_RISCV, "riscv" },
{ CBFS_ARCHITECTURE_X86, "x86" },
{ CBFS_ARCHITECTURE_UNKNOWN, "unknown" }