platform: Add mt8188 to Kconfig

Add mt8188 to Kconfig.

Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
This commit is contained in:
Tinghan Shen 2022-12-13 11:38:06 +08:00 committed by Liam Girdwood
parent 4139ca8fe4
commit f28dc601cb
2 changed files with 25 additions and 0 deletions

View File

@ -18,6 +18,9 @@ DEFAULT_PLATFORMS=(
# the -a option for everyone.
SUPPORTED_PLATFORMS=( "${DEFAULT_PLATFORMS[@]}" )
# Waiting for container work in progress
SUPPORTED_PLATFORMS+=( mt8188 )
# Not actually "supported" in the main branch anymore (go to stable-v2.3
# instead) but kept here for historical reasons and experimentation
# convenience.
@ -357,6 +360,12 @@ do
HOST="xtensa-mt8186-elf"
XTENSA_TOOLS_VERSION="RI-2020.5-linux"
;;
mt8188)
PLATFORM="mt8188"
XTENSA_CORE="hifi5_7stg_I64D128"
HOST="xtensa-mt8188-elf"
XTENSA_TOOLS_VERSION="RI-2020.5-linux"
;;
mt8195)
PLATFORM="mt8195"
XTENSA_CORE="hifi4_8195_PROD"

View File

@ -290,6 +290,21 @@ config MT8186
help
Select if your target platform is mt8186-compatible
config MT8188
bool "Build for MTK MT8188"
select XT_INTERRUPT_LEVEL_1
select XT_INTERRUPT_LEVEL_2
select XT_INTERRUPT_LEVEL_3
select XT_INTERRUPT_LEVEL_4
select DUMMY_DMA
select HOST_PTABLE
select XT_WAITI_DELAY
select MEDIATEK
select XTENSA_EXCLUSIVE
select SCHEDULE_DMA_MULTI_CHANNEL
help
Select if your target platform is mt8188-compatible.
config MT8195
bool "Build for MTK MT8195"
select XT_INTERRUPT_LEVEL_1
@ -528,6 +543,7 @@ config RIMAGE_SIGNING_SCHEMA
default "imx8ulp" if IMX8ULP
default "rn" if RENOIR
default "mt8186" if MT8186
default "mt8188" if MT8188
default "mt8195" if MT8195
default ""
help