Lean Sheng Tan has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/55357 )
Change subject: util/ifdtool: Add Elkhart Lake platform support under IFDv2 ......................................................................
util/ifdtool: Add Elkhart Lake platform support under IFDv2
Add EHL under same family tree as TGL & JSL, also fix a spacing inconsistency line.
Signed-off-by: Lean Sheng Tan lean.sheng.tan@intel.com Change-Id: Ice09861c104c4e339fc83631c75089fa069b3931 --- M util/ifdtool/ifdtool.c M util/ifdtool/ifdtool.h 2 files changed, 7 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/57/55357/1
diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c index 7dbed66..77fbd7a 100644 --- a/util/ifdtool/ifdtool.c +++ b/util/ifdtool/ifdtool.c @@ -242,6 +242,7 @@ PLATFORM_ICL, PLATFORM_TGL, PLATFORM_JSL, + PLATFORM_EHL, PLATFORM_ADL, }; unsigned int i; @@ -1199,6 +1200,7 @@ case PLATFORM_SKLKBL: case PLATFORM_TGL: case PLATFORM_JSL: + case PLATFORM_EHL: case PLATFORM_ADL: /* CPU/BIOS can read descriptor and BIOS. */ fmba->flmstr1 |= (1 << REGION_DESC) << rd_shift; @@ -1653,6 +1655,7 @@ " adl - Alder Lake\n" " aplk - Apollo Lake\n" " cnl - Cannon Lake\n" + " ehl - Elkhart Lake\n" " glk - Gemini Lake\n" " icl - Ice Lake\n" " jsl - Jasper Lake\n" @@ -1895,12 +1898,14 @@ platform = PLATFORM_APL; } else if (!strcmp(optarg, "cnl")) { platform = PLATFORM_CNL; + } else if (!strcmp(optarg, "ehl")) { + platform = PLATFORM_EHL; } else if (!strcmp(optarg, "glk")) { platform = PLATFORM_GLK; } else if (!strcmp(optarg, "icl")) { platform = PLATFORM_ICL; } else if (!strcmp(optarg, "jsl")) { - platform = PLATFORM_JSL; + platform = PLATFORM_JSL; } else if (!strcmp(optarg, "sklkbl")) { platform = PLATFORM_SKLKBL; } else if (!strcmp(optarg, "tgl")) { diff --git a/util/ifdtool/ifdtool.h b/util/ifdtool/ifdtool.h index ced4f2b..e84d605 100644 --- a/util/ifdtool/ifdtool.h +++ b/util/ifdtool/ifdtool.h @@ -46,6 +46,7 @@ enum platform { PLATFORM_APL, PLATFORM_CNL, + PLATFORM_EHL, PLATFORM_GLK, PLATFORM_ICL, PLATFORM_JSL,