From d64b04609d34e272cb06e9c8f27f4321558e8330 Mon Sep 17 00:00:00 2001 From: rkanabar Date: Fri, 30 Aug 2019 11:40:08 +0530 Subject: [PATCH] util/ifdtool: Add Jasperlake platform support under IFDv2 Change-Id: I4963ab249a8e0b31c014e92edf1e0a4a4f638084 Signed-off-by: rkanabar Reviewed-on: https://review.coreboot.org/c/coreboot/+/37111 Reviewed-by: Subrata Banik Reviewed-by: V Sowmya Reviewed-by: Aamir Bohra Tested-by: build bot (Jenkins) --- util/ifdtool/ifdtool.c | 3 +++ util/ifdtool/ifdtool.h | 1 + 2 files changed, 4 insertions(+) diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c index a6d0ffa778..a59f36b886 100644 --- a/util/ifdtool/ifdtool.c +++ b/util/ifdtool/ifdtool.c @@ -217,6 +217,7 @@ static int is_platform_ifd_2(void) PLATFORM_CNL, PLATFORM_ICL, PLATFORM_TGL, + PLATFORM_JSL, }; unsigned int i; @@ -1637,6 +1638,8 @@ int main(int argc, char *argv[]) platform = PLATFORM_GLK; } else if (!strcmp(optarg, "icl")) { platform = PLATFORM_ICL; + } else if (!strcmp(optarg, "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 2f5b3c3f2e..aecd8fa643 100644 --- a/util/ifdtool/ifdtool.h +++ b/util/ifdtool/ifdtool.h @@ -57,6 +57,7 @@ enum platform { PLATFORM_CNL, PLATFORM_GLK, PLATFORM_ICL, + PLATFORM_JSL, PLATFORM_SKLKBL, PLATFORM_TGL, };