diff options
author | Aamir Bohra <aamir.bohra@intel.com> | 2018-06-29 15:08:50 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2018-11-21 13:45:52 +0000 |
commit | 1018be2852e19935b53ecfcf01fc85da4553fc8a (patch) | |
tree | 3f1072cb5861a05c3bc0452d7c214075fe601baf /util/ifdtool | |
parent | 0cca6e24b741c4e46cc85ff04635fe4df05cf949 (diff) |
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>
Diffstat (limited to 'util/ifdtool')
-rw-r--r-- | util/ifdtool/ifdtool.c | 3 | ||||
-rw-r--r-- | util/ifdtool/ifdtool.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c index 671c7d58a9..ccd27d0dc4 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 aec7c30508..49463b91bf 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, }; |