Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/36242 )
Change subject: util/ifdtool: Add Tigerlake platform support under IFDv2 ......................................................................
util/ifdtool: Add Tigerlake platform support under IFDv2
Signed-off-by: Ravi Sarawadi ravishankar.sarawadi@intel.com Change-Id: I3f9672053dcf0a4462ef6ab718af4f18fcfa7e14 Reviewed-on: https://review.coreboot.org/c/coreboot/+/36242 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Subrata Banik subrata.banik@intel.com --- M util/ifdtool/ifdtool.c M util/ifdtool/ifdtool.h 2 files changed, 5 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Subrata Banik: Looks good to me, approved
diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c index 0e8f76d..a6d0ffa 100644 --- a/util/ifdtool/ifdtool.c +++ b/util/ifdtool/ifdtool.c @@ -216,6 +216,7 @@ PLATFORM_GLK, PLATFORM_CNL, PLATFORM_ICL, + PLATFORM_TGL, }; unsigned int i;
@@ -1026,6 +1027,7 @@ case PLATFORM_CNL: case PLATFORM_ICL: case PLATFORM_SKLKBL: + case PLATFORM_TGL: /* CPU/BIOS can read descriptor and BIOS. */ fmba->flmstr1 |= (1 << REGION_DESC) << rd_shift; fmba->flmstr1 |= (1 << REGION_BIOS) << rd_shift; @@ -1637,6 +1639,8 @@ platform = PLATFORM_ICL; } else if (!strcmp(optarg, "sklkbl")) { platform = PLATFORM_SKLKBL; + } else if (!strcmp(optarg, "tgl")) { + platform = PLATFORM_TGL; } else { fprintf(stderr, "Unknown platform: %s\n", optarg); exit(EXIT_FAILURE); diff --git a/util/ifdtool/ifdtool.h b/util/ifdtool/ifdtool.h index 195a09c..2f5b3c3 100644 --- a/util/ifdtool/ifdtool.h +++ b/util/ifdtool/ifdtool.h @@ -58,6 +58,7 @@ PLATFORM_GLK, PLATFORM_ICL, PLATFORM_SKLKBL, + PLATFORM_TGL, };
#define LAYOUT_LINELEN 80