diff options
author | rkanabar <ronak.kanabar@intel.com> | 2019-08-30 11:40:08 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2019-11-25 05:14:52 +0000 |
commit | d64b04609d34e272cb06e9c8f27f4321558e8330 (patch) | |
tree | d38ab2b9fb4923f562ffe6a2d4319970b695fd1b /util/ifdtool | |
parent | 0bb83469ed29a576f8a89a6a775ce65fcf6505bb (diff) | |
download | coreboot-d64b04609d34e272cb06e9c8f27f4321558e8330.tar.xz |
util/ifdtool: Add Jasperlake platform support under IFDv2
Change-Id: I4963ab249a8e0b31c014e92edf1e0a4a4f638084
Signed-off-by: rkanabar <ronak.kanabar@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37111
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: V Sowmya <v.sowmya@intel.com>
Reviewed-by: Aamir Bohra <aamir.bohra@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 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, }; |