Skip to content

Commit 439a0f4

Browse files
committed
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>
1 parent c9d603b commit 439a0f4

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

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)
@@ -189,8 +189,11 @@ build_platforms()
189189
XTENSA_CORE="X6H3CNL_2017_8"
190190
XTENSA_TOOLS_VERSION="RG-2017.8-linux"
191191
;;
192-
icl)
192+
icl|jsl)
193193
PLAT_CONFIG='intel_adsp_cavs20'
194+
if test "$platform" = jsl ; then
195+
PLAT_CONFIG="intel_adsp_cavs20_jsl"
196+
fi
194197
XTENSA_CORE="X6H3CNL_2017_8"
195198
XTENSA_TOOLS_VERSION="RG-2017.8-linux"
196199
;;

0 commit comments

Comments
 (0)