summaryrefslogtreecommitdiff
path: root/util/ifdtool/ifdtool.h
diff options
context:
space:
mode:
authorJeff Daly <jeffd@silicom-usa.com>2022-01-05 23:51:40 -0500
committerFelix Held <felix-coreboot@felixheld.de>2022-02-04 20:11:10 +0000
commit3623eca5253b6863b3677953cac342b3a1f85dad (patch)
treec7755623048c7471008b4669869de7afba434a70 /util/ifdtool/ifdtool.h
parent8b94d3e9d94b5c9a7add46e95e3e2fb9ebaa60e6 (diff)
util/ifdtool: Add additional regions for platforms that support them
Some Intel SoCs such as Denverton support additional SPI regions for things like Innovation Engine firmware or 10GbE LAN firmwares Signed-off-by: Jeff Daly <jeffd@silicom-usa.com> Change-Id: Ia5a450e5002e9f8edee76ca7c2eede9906df36c5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60829 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'util/ifdtool/ifdtool.h')
-rw-r--r--util/ifdtool/ifdtool.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/util/ifdtool/ifdtool.h b/util/ifdtool/ifdtool.h
index 4f63e20c44..bde104a73e 100644
--- a/util/ifdtool/ifdtool.h
+++ b/util/ifdtool/ifdtool.h
@@ -117,7 +117,7 @@ typedef struct {
} __attribute__((packed)) fdbar_t;
// regions
-#define MAX_REGIONS 9
+#define MAX_REGIONS 16
#define MAX_REGIONS_OLD 5
enum flash_regions {
@@ -126,7 +126,14 @@ enum flash_regions {
REGION_ME,
REGION_GBE,
REGION_PDR,
+ REGION_DEV_EXP1,
+ REGION_BIOS2,
REGION_EC = 8,
+ REGION_DEV_EXP2,
+ REGION_IE,
+ REGION_10GB_0,
+ REGION_10GB_1,
+ REGION_PTT = 15,
};
typedef struct {