Skip to content

Commit 0b940bc

Browse files
marc-hbabonislawski
authored andcommitted
xtensa-build-zephyr.py: remove IPC3/IPC4 "cavs" switch
Rename: - tgl-cavs.toml to tgl.toml - tgl-h-cavs.toml to tgl-h.toml Remove the IPC3/IPC4 switch added by commit 6f71808 ("xtensa-build-zephyr.py: add ipc4 build support for tgl") This brings back consistency which is required for the .toml split (#8490) Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent 308d5a8 commit 0b940bc

5 files changed

Lines changed: 947 additions & 1037 deletions

File tree

scripts/xtensa-build-zephyr.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ class PlatformConfig:
8282
XTENSA_CORE: str
8383
DEFAULT_TOOLCHAIN_VARIANT: str = "xt-clang"
8484
RIMAGE_KEY: pathlib.Path = pathlib.Path(SOF_TOP, "keys", "otc_private_key_3k.pem")
85-
IPC4_RIMAGE_DESC: str = None
8685
IPC4_CONFIG_OVERLAY: str = "ipc4_overlay.conf"
8786
aliases: list = dataclasses.field(default_factory=list)
8887

@@ -93,15 +92,13 @@ class PlatformConfig:
9392
f"RG-2017.8{xtensa_tools_version_postfix}",
9493
"cavs2x_LX6HiFi3_2017_8",
9594
"xcc",
96-
IPC4_RIMAGE_DESC = "tgl-cavs.toml",
9795
aliases = ['adl', 'ehl']
9896
),
9997
"tgl-h" : PlatformConfig(
10098
"tgl-h", "intel_adsp_cavs25_tgph",
10199
f"RG-2017.8{xtensa_tools_version_postfix}",
102100
"cavs2x_LX6HiFi3_2017_8",
103101
"xcc",
104-
IPC4_RIMAGE_DESC = "tgl-h-cavs.toml",
105102
aliases = ['adl-s']
106103
),
107104
"mtl" : PlatformConfig(
@@ -622,10 +619,7 @@ def rimage_options(platform_dict):
622619
# test_00_01_load_fw_and_check_version
623620
opts.append(("-b", "1"))
624621

625-
if platform_dict.get("IPC4_RIMAGE_DESC", None) is not None:
626-
rimage_desc = platform_dict["IPC4_RIMAGE_DESC"]
627-
else:
628-
rimage_desc = platform_dict["name"] + ".toml"
622+
rimage_desc = platform_dict["name"] + ".toml"
629623

630624
opts.append(("-c", str(RIMAGE_SOURCE_DIR / "config" / rimage_desc)))
631625

0 commit comments

Comments
 (0)