diff --git a/scripts/xtensa-build-zephyr.py b/scripts/xtensa-build-zephyr.py index 823a16a9c129..5e2ea56a8813 100755 --- a/scripts/xtensa-build-zephyr.py +++ b/scripts/xtensa-build-zephyr.py @@ -58,7 +58,7 @@ }, { "name": "tgl-h", - "PLAT_CONFIG": "intel_adsp_cavs25", + "PLAT_CONFIG": "intel_adsp_cavs25_tgph", "XTENSA_CORE": "cavs2x_LX6HiFi3_2017_8", "XTENSA_TOOLS_VERSION": f"RG-2017.8{xtensa_tools_version_postfix}", "RIMAGE_KEY": pathlib.Path("modules", "audio", "sof", "keys", "otc_private_key_3k.pem") diff --git a/scripts/xtensa-build-zephyr.sh b/scripts/xtensa-build-zephyr.sh index 1302808944ae..2a2810d20d08 100755 --- a/scripts/xtensa-build-zephyr.sh +++ b/scripts/xtensa-build-zephyr.sh @@ -196,6 +196,9 @@ build_platforms() ;; tgl-h|tgl) PLAT_CONFIG='intel_adsp_cavs25' + if test $platform = tgl-h ; then + PLAT_CONFIG="intel_adsp_cavs25_tgph" + fi XTENSA_CORE="cavs2x_LX6HiFi3_2017_8" XTENSA_TOOLS_VERSION="RG-2017.8-linux" RIMAGE_KEY=modules/audio/sof/keys/otc_private_key_3k.pem