File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,6 +140,12 @@ case "$platform" in
140140 HOST=" xtensa-mt8196-elf"
141141 TOOLCHAIN_VER=" RI-2023.11-linux"
142142 ;;
143+ mt8365)
144+ PLATFORM=" mt8365"
145+ XTENSA_CORE=" hifi4_Aquila_E2_PROD"
146+ HOST=" xtensa-mt8365-elf"
147+ TOOLCHAIN_VER=" RG-2018.9-linux"
148+ ;;
143149 * )
144150 >&2 printf ' Unknown xtensa platform=%s\n' " $platform "
145151 return 1
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ DEFAULT_PLATFORMS=(
1717# the -a option for everyone.
1818SUPPORTED_PLATFORMS=( " ${DEFAULT_PLATFORMS[@]} " )
1919
20+ # Waiting for container work in progress
21+ SUPPORTED_PLATFORMS+=( mt8365 )
22+
2023# Container work is in progress
2124SUPPORTED_PLATFORMS+=( acp_6_3 acp_7_0 mt8196)
2225
Original file line number Diff line number Diff line change @@ -275,6 +275,19 @@ config MT8195
275275 Select if your target platform is mt8195-compatible
276276 Builds legacy/xtos firmware
277277
278+ config MT8365
279+ bool "Build for MTK MT8365"
280+ select XT_INTERRUPT_LEVEL_1
281+ select XT_INTERRUPT_LEVEL_2
282+ select XT_INTERRUPT_LEVEL_3
283+ select DUMMY_DMA
284+ select HOST_PTABLE
285+ select MEDIATEK
286+ select XTENSA_EXCLUSIVE
287+ select SCHEDULE_DMA_MULTI_CHANNEL
288+ help
289+ Select if your target platform is mt8365-compatible
290+
278291config MTK
279292 bool "Build for Mediatek (Zephyr)"
280293 select SCHEDULE_DMA_MULTI_CHANNEL
@@ -507,6 +520,7 @@ config RIMAGE_SIGNING_SCHEMA
507520 default "mt8188" if MT8188
508521 default "mt8195" if MT8195
509522 default "mt8196" if MT8196
523+ default "mt8365" if MT8365
510524 default ""
511525 help
512526 Signing schema name used by rimage to decide how to build final binary
@@ -556,6 +570,7 @@ config XTENSA_EXCLUSIVE
556570config FORCE_DMA_COPY_WHOLE_BLOCK
557571 bool
558572 default y if MT8195
573+ default y if MT8365
559574 default n
560575 depends on HOST_PTABLE
561576 help
You can’t perform that action at this time.
0 commit comments