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>
This commit is contained in:
Jeff Daly
2022-01-05 23:51:40 -05:00
committed by Felix Held
parent 8b94d3e9d9
commit 3623eca525
2 changed files with 34 additions and 9 deletions

View File

@@ -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 {