Skip to content

Commit 9e112a6

Browse files
kv2019ilgirdwood
authored andcommitted
xtensa-build-all: add a separate target for JSL
Use intel_adsp_cavs20_jsl Zephyr board when building for Intel Jasper Lake. BugLink: #4539 Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> (cherry picked from commit 6d0ecc3)
1 parent d93efb7 commit 9e112a6

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

scripts/xtensa-build-zephyr.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@
4747
"XTENSA_CORE": "X6H3CNL_2017_8",
4848
"XTENSA_TOOLS_VERSION": f"RG-2017.8{xtensa_tools_version_postfix}"
4949
},
50+
{
51+
"name": "jsl",
52+
"PLAT_CONFIG": "intel_adsp_cavs20_jsl",
53+
"XTENSA_CORE": "X6H3CNL_2017_8",
54+
"XTENSA_TOOLS_VERSION": f"RG-2017.8{xtensa_tools_version_postfix}"
55+
},
5056
{
5157
"name": "tgl",
5258
"PLAT_CONFIG": "intel_adsp_cavs25",

scripts/xtensa-build-zephyr.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SOF_TOP=$(cd "$(dirname "$0")" && cd .. && pwd)
1111
DEFAULT_PLATFORMS=()
1212

1313
# Intel
14-
DEFAULT_PLATFORMS+=(apl cnl icl tgl-h tgl)
14+
DEFAULT_PLATFORMS+=(apl cnl icl jsl tgl-h tgl)
1515

1616
# NXP
1717
DEFAULT_PLATFORMS+=(imx8 imx8x imx8m)
@@ -200,8 +200,11 @@ build_platforms()
200200
XTENSA_CORE="X6H3CNL_2017_8"
201201
XTENSA_TOOLS_VERSION="RG-2017.8-linux"
202202
;;
203-
icl)
203+
icl|jsl)
204204
PLAT_CONFIG='intel_adsp_cavs20'
205+
if test "$platform" = jsl ; then
206+
PLAT_CONFIG="intel_adsp_cavs20_jsl"
207+
fi
205208
XTENSA_CORE="X6H3CNL_2017_8"
206209
XTENSA_TOOLS_VERSION="RG-2017.8-linux"
207210
;;

0 commit comments

Comments
 (0)