util/ifdtool: Add IceLake platform support under IFDv2
Change-Id: Ib69a2cbc3d8ab9f35c940e95b0edb4b04b50b716 Signed-off-by: Aamir Bohra <aamir.bohra@intel.com> Reviewed-on: https://chromium-review.googlesource.com/1162995 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Subrata Banik <subrata.banik@intel.com> Reviewed-by: Subrata Banik <subrata.banik@intel.com> Reviewed-by: Shelley Chen <shchen@chromium.org> Reviewed-on: https://review.coreboot.org/c/29696 Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
0cca6e24b7
commit
1018be2852
|
@ -214,6 +214,7 @@ static int is_platform_ifd_2(void)
|
||||||
static const int ifd_2_platforms[] = {
|
static const int ifd_2_platforms[] = {
|
||||||
PLATFORM_GLK,
|
PLATFORM_GLK,
|
||||||
PLATFORM_CNL,
|
PLATFORM_CNL,
|
||||||
|
PLATFORM_ICL,
|
||||||
};
|
};
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
|
@ -1542,6 +1543,8 @@ int main(int argc, char *argv[])
|
||||||
platform = PLATFORM_CNL;
|
platform = PLATFORM_CNL;
|
||||||
} else if (!strcmp(optarg, "glk")) {
|
} else if (!strcmp(optarg, "glk")) {
|
||||||
platform = PLATFORM_GLK;
|
platform = PLATFORM_GLK;
|
||||||
|
} else if (!strcmp(optarg, "icl")) {
|
||||||
|
platform = PLATFORM_ICL;
|
||||||
} else if (!strcmp(optarg, "sklkbl")) {
|
} else if (!strcmp(optarg, "sklkbl")) {
|
||||||
platform = PLATFORM_SKLKBL;
|
platform = PLATFORM_SKLKBL;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -56,6 +56,7 @@ enum platform {
|
||||||
PLATFORM_APL,
|
PLATFORM_APL,
|
||||||
PLATFORM_CNL,
|
PLATFORM_CNL,
|
||||||
PLATFORM_GLK,
|
PLATFORM_GLK,
|
||||||
|
PLATFORM_ICL,
|
||||||
PLATFORM_SKLKBL,
|
PLATFORM_SKLKBL,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue