Skip to content

Commit 3849f37

Browse files
committed
Change the soc from ace30_ptl to ace30
Renamed soc from ace30_ptl to ace30. We were previously using the wrong soc name. The correct name is ace30. There is only one ptl platform, but there can be several ace30 platforms. Signed-off-by: Grzegorz Bernat <grzegorzx.bernat@intel.com>
1 parent 76e650e commit 3849f37

File tree

6 files changed

+15
-11
lines changed

6 files changed

+15
-11
lines changed

app/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ tests:
1414
- intel_adsp/cavs25
1515
- intel_adsp/ace15_mtpm
1616
- intel_adsp/ace20_lnl
17+
- intel_adsp/ace30
1718
- intel_adsp/ace30_ptl
1819
- intel_adsp/ace30_ptl_sim
1920
- imx8qm_mek/mimx8qm6/adsp
@@ -25,6 +26,7 @@ tests:
2526
- intel_adsp/cavs25 # TGL
2627
- intel_adsp/ace15_mtpm # MTL
2728
- intel_adsp/ace20_lnl
29+
- intel_adsp/ace30
2830
- intel_adsp/ace30_ptl
2931
- intel_adsp/ace30_ptl_sim
3032
- imx8qm_mek/mimx8qm6/adsp

scripts/xtensa-build-zephyr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ class PlatformConfig:
9292
# For instance: there's no open-source toolchain available for them yet.
9393
extra_platform_configs = {
9494
"ptl" : PlatformConfig(
95-
"intel", "intel_adsp/ace30_ptl",
95+
"intel", "intel_adsp/ace30/ptl",
9696
f"RI-2022.10{xtensa_tools_version_postfix}",
9797
"ace30_LX7HiFi4_PIF",
9898
ipc4 = True
9999
),
100100
"ptl-sim" : PlatformConfig(
101-
"intel", "intel_adsp/ace30_ptl_sim",
101+
"intel", "intel_adsp/ace30/ptl_sim",
102102
f"RI-2022.10{xtensa_tools_version_postfix}",
103103
"ace30_LX7HiFi4_PIF",
104104
ipc4 = True

src/audio/base_fw_intel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ int basefw_vendor_hw_config(uint32_t *data_offset, char *data)
8888
tuple = tlv_next(tuple);
8989
tlv_value_uint32_set(tuple, IPC4_LP_EBB_COUNT_HW_CFG, PLATFORM_LPSRAM_EBB_COUNT);
9090

91-
#ifdef CONFIG_SOC_INTEL_ACE30_PTL
91+
#ifdef CONFIG_SOC_INTEL_ACE30
9292
tuple = tlv_next(tuple);
9393
tlv_value_uint32_set(tuple, IPC4_I2S_CAPS_HW_CFG, I2S_VER_30_PTL);
9494
#endif

west.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ manifest:
1111
url-base: https://github.com/thesofproject
1212
- name: zephyrproject
1313
url-base: https://github.com/zephyrproject-rtos
14+
- name: gbernatxintel
15+
url-base: https://github.com/gbernatxintel
1416

1517
# When upgrading projects here please run git log --oneline in the
1618
# project and if not too long then include the output in your commit
@@ -43,8 +45,8 @@ manifest:
4345

4446
- name: zephyr
4547
repo-path: zephyr
46-
revision: 689d1edee1d57f052b1d4572d67618c0b0e2b8a4
47-
remote: zephyrproject
48+
revision: gb_ptl_to_ace_3
49+
remote: gbernatxintel
4850

4951
# Import some projects listed in zephyr/west.yml@revision
5052
#

zephyr/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ if (CONFIG_SOC_SERIES_INTEL_ADSP_ACE)
264264
${SOF_PLATFORM_PATH}/lunarlake/lib/clk.c
265265
)
266266

267-
zephyr_library_sources_ifdef(CONFIG_SOC_INTEL_ACE30_PTL
267+
zephyr_library_sources_ifdef(CONFIG_SOC_INTEL_ACE30
268268
${SOF_PLATFORM_PATH}/pantherlake/lib/clk.c
269269
)
270270

@@ -294,7 +294,7 @@ if (CONFIG_SOC_SERIES_INTEL_ADSP_ACE)
294294
set(PLATFORM "meteorlake")
295295
elseif(CONFIG_SOC_INTEL_ACE20_LNL)
296296
set(PLATFORM "lunarlake")
297-
elseif(CONFIG_SOC_INTEL_ACE30_PTL)
297+
elseif(CONFIG_SOC_INTEL_ACE30)
298298
set(PLATFORM "pantherlake")
299299
endif()
300300

zephyr/lib/dma.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ SHARED_DATA struct dma dma[] = {
7878
.plat_data = {
7979
.dir = DMA_DIR_DEV_TO_MEM,
8080
.caps = DMA_CAP_HDA,
81-
#if defined(CONFIG_SOC_INTEL_ACE20_LNL) || defined(CONFIG_SOC_INTEL_ACE30_PTL)
81+
#if defined(CONFIG_SOC_INTEL_ACE20_LNL) || defined(CONFIG_SOC_INTEL_ACE30)
8282
.devs = DMA_DEV_HDA | DMA_DEV_SSP |
8383
DMA_DEV_DMIC | DMA_DEV_ALH,
8484
#else
8585
.devs = DMA_DEV_HDA,
86-
#endif /* CONFIG_SOC_INTEL_ACE20_LNL || CONFIG_SOC_INTEL_ACE30_PTL */
86+
#endif /* CONFIG_SOC_INTEL_ACE20_LNL || CONFIG_SOC_INTEL_ACE30 */
8787
.channels = DT_PROP(DT_NODELABEL(hda_link_in), dma_channels),
8888
.period_count = HDA_DMA_BUFFER_PERIOD_COUNT,
8989
},
@@ -95,12 +95,12 @@ SHARED_DATA struct dma dma[] = {
9595
.plat_data = {
9696
.dir = DMA_DIR_MEM_TO_DEV,
9797
.caps = DMA_CAP_HDA,
98-
#if defined(CONFIG_SOC_INTEL_ACE20_LNL) || defined(CONFIG_SOC_INTEL_ACE30_PTL)
98+
#if defined(CONFIG_SOC_INTEL_ACE20_LNL) || defined(CONFIG_SOC_INTEL_ACE30)
9999
.devs = DMA_DEV_HDA | DMA_DEV_SSP |
100100
DMA_DEV_DMIC | DMA_DEV_ALH,
101101
#else
102102
.devs = DMA_DEV_HDA,
103-
#endif /* CONFIG_SOC_INTEL_ACE20_LNL || CONFIG_SOC_INTEL_ACE30_PTL */
103+
#endif /* CONFIG_SOC_INTEL_ACE20_LNL || CONFIG_SOC_INTEL_ACE30 */
104104
.channels = DT_PROP(DT_NODELABEL(hda_link_out), dma_channels),
105105
.period_count = HDA_DMA_BUFFER_PERIOD_COUNT,
106106
},

0 commit comments

Comments
 (0)