From 1018be2852e19935b53ecfcf01fc85da4553fc8a Mon Sep 17 00:00:00 2001 From: Aamir Bohra Date: Fri, 29 Jun 2018 15:08:50 +0530 Subject: util/ifdtool: Add IceLake platform support under IFDv2 Change-Id: Ib69a2cbc3d8ab9f35c940e95b0edb4b04b50b716 Signed-off-by: Aamir Bohra Reviewed-on: https://chromium-review.googlesource.com/1162995 Commit-Ready: ChromeOS CL Exonerator Bot Tested-by: Subrata Banik Reviewed-by: Subrata Banik Reviewed-by: Shelley Chen Reviewed-on: https://review.coreboot.org/c/29696 Reviewed-by: Rizwan Qureshi Tested-by: build bot (Jenkins) --- util/ifdtool/ifdtool.c | 3 +++ util/ifdtool/ifdtool.h | 1 + 2 files changed, 4 insertions(+) (limited to 'util/ifdtool') diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c index 671c7d58a930..ccd27d0dc43f 100644 --- a/util/ifdtool/ifdtool.c +++ b/util/ifdtool/ifdtool.c @@ -214,6 +214,7 @@ static int is_platform_ifd_2(void) static const int ifd_2_platforms[] = { PLATFORM_GLK, PLATFORM_CNL, + PLATFORM_ICL, }; unsigned int i; @@ -1542,6 +1543,8 @@ int main(int argc, char *argv[]) platform = PLATFORM_CNL; } else if (!strcmp(optarg, "glk")) { platform = PLATFORM_GLK; + } else if (!strcmp(optarg, "icl")) { + platform = PLATFORM_ICL; } else if (!strcmp(optarg, "sklkbl")) { platform = PLATFORM_SKLKBL; } else { diff --git a/util/ifdtool/ifdtool.h b/util/ifdtool/ifdtool.h index aec7c305080e..49463b91bfcf 100644 --- a/util/ifdtool/ifdtool.h +++ b/util/ifdtool/ifdtool.h @@ -56,6 +56,7 @@ enum platform { PLATFORM_APL, PLATFORM_CNL, PLATFORM_GLK, + PLATFORM_ICL, PLATFORM_SKLKBL, }; -- cgit v1.2.3