[coreboot-gerrit] New patch to review for coreboot: 36424f7 cbfstool: add aarch64 as a name

Ronald G. Minnich (rminnich@gmail.com) gerrit at coreboot.org
Tue Nov 12 18:04:09 CET 2013


Ronald G. Minnich (rminnich at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4042

-gerrit

commit 36424f7f368408eda313b53331f7f246f5929fb0
Author: Ronald G. Minnich <rminnich at google.com>
Date:   Tue Nov 12 09:03:33 2013 -0800

    cbfstool: add aarch64 as a name
    
    Change-Id: I1d8ee785ca4877d41d3082e1dab7471eb67aa602
    Signed-off-by: Ronald G. Minnich <rminnich at google.com>
---
 util/cbfstool/cbfs.h     | 1 +
 util/cbfstool/cbfstool.c | 2 +-
 util/cbfstool/common.c   | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h
index 35d0670..962bbad 100644
--- a/util/cbfstool/cbfs.h
+++ b/util/cbfstool/cbfs.h
@@ -41,6 +41,7 @@ struct cbfs_header {
 #define CBFS_ARCHITECTURE_UNKNOWN  0xFFFFFFFF
 #define CBFS_ARCHITECTURE_X86      0x00000001
 #define CBFS_ARCHITECTURE_ARMV7    0x00000010
+#define CBFS_ARCHITECTURE_AARCH64  0x00000020
 
 #define CBFS_FILE_MAGIC "LARCHIVE"
 
diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c
index 34002a9..6f169bb 100644
--- a/util/cbfstool/cbfstool.c
+++ b/util/cbfstool/cbfstool.c
@@ -582,7 +582,7 @@ static void usage(char *name)
 			"Updates the FIT table with microcode entries\n"
 	     "\n"
 	     "ARCHes:\n"
-	     "  armv7, x86\n"
+	     "  aarch64, armv7, x86\n"
 	     "TYPEs:\n", name, name
 	    );
 	print_supported_filetypes();
diff --git a/util/cbfstool/common.c b/util/cbfstool/common.c
index aa98696..ec3c6f6 100644
--- a/util/cbfstool/common.c
+++ b/util/cbfstool/common.c
@@ -154,6 +154,7 @@ static struct {
 	uint32_t arch;
 	const char *name;
 } arch_names[] = {
+	{ CBFS_ARCHITECTURE_AARCH64, "aarch64" },
 	{ CBFS_ARCHITECTURE_ARMV7, "armv7" },
 	{ CBFS_ARCHITECTURE_X86, "x86" },
 	{ CBFS_ARCHITECTURE_UNKNOWN, "unknown" }



More information about the coreboot-gerrit mailing list