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>
diff --git a/util/ifdtool/ifdtool.h b/util/ifdtool/ifdtool.h
index 4f63e20..bde104a 100644
--- a/util/ifdtool/ifdtool.h
+++ b/util/ifdtool/ifdtool.h
@@ -117,7 +117,7 @@
} __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 @@
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 {