From fb128734ec45b9ca7d3ed1a59ea05a81fa6ae360 Mon Sep 17 00:00:00 2001 From: Pratik Prajapati Date: Wed, 2 Sep 2015 13:46:30 -0700 Subject: cbfstool: Add EFI and MMA file types Add efi and mma file types. BRANCH=none BUG=chrome-os-partner:43731 TEST=Build and Boot kunimitsu (FAB3). cbfstool shows mma and efi file types. Not tested on Glados CQ-DEPEND=CL:299476,CL:299474,CL:299473,CL:299509,CL:299508,CL:299507,CL:*230478,CL:*230479 Change-Id: I4f24a8426028428d613eb875c11cca70d9461dd6 Signed-off-by: Patrick Georgi Original-Commit-Id: 3c625ad2aeca3a9358fba1eb7434c66ff991131a Original-Change-Id: I611819d213d87fbbb20816fdfb9e4b1401b3b89b Original-Signed-off-by: Pratik Prajapati Original-Reviewed-on: https://chromium-review.googlesource.com/299475 Original-Commit-Ready: Pratikkumar V Prajapati Original-Tested-by: Pratikkumar V Prajapati Original-Reviewed-by: Aaron Durbin Original-Reviewed-by: Pratikkumar V Prajapati Reviewed-on: http://review.coreboot.org/12480 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/cbfstool/cbfs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util') diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h index 486e2db45b..4a2a1ed7f0 100644 --- a/util/cbfstool/cbfs.h +++ b/util/cbfstool/cbfs.h @@ -168,6 +168,8 @@ struct cbfs_payload { #define CBFS_COMPONENT_MICROCODE 0x53 #define CBFS_COMPONENT_FSP 0x60 #define CBFS_COMPONENT_MRC 0x61 +#define CBFS_COMPONENT_MMA 0x62 +#define CBFS_COMPONENT_EFI 0x63 #define CBFS_COMPONENT_CMOS_DEFAULT 0xaa #define CBFS_COMPONENT_SPD 0xab #define CBFS_COMPONENT_MRC_CACHE 0xac @@ -207,6 +209,8 @@ static struct typedesc_t filetypes[] unused = { {CBFS_COMPONENT_CMOS_LAYOUT, "cmos_layout"}, {CBFS_COMPONENT_SPD, "spd"}, {CBFS_COMPONENT_MRC_CACHE, "mrc_cache"}, + {CBFS_COMPONENT_MMA, "mma"}, + {CBFS_COMPONENT_EFI, "efi"}, {CBFS_COMPONENT_DELETED, "deleted"}, {CBFS_COMPONENT_NULL, "null"} }; -- cgit v1.2.3