platform: Add mt8186 to Kconfig

Add mt8186 to Kconfig

Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
This commit is contained in:
Tinghan Shen 2022-01-11 17:25:48 +08:00 committed by Liam Girdwood
parent 7c8e272a2a
commit 59a32d5bbe
2 changed files with 23 additions and 1 deletions

View File

@ -8,7 +8,7 @@ set -e
# Platforms with a toolchain available in the latest Docker image and
# built by the -a option.
DEFAULT_PLATFORMS=( byt cht bdw hsw apl skl kbl cnl sue icl jsl \
imx8 imx8x imx8m imx8ulp tgl tgl-h rn mt8195 )
imx8 imx8x imx8m imx8ulp tgl tgl-h rn mt8186 mt8195 )
# Work in progress can be added to this "staging area" without breaking
# the -a option for everyone.
@ -335,6 +335,12 @@ do
HOST="xtensa-rn-elf"
XTENSA_TOOLS_VERSION="RF-2016.4-linux"
;;
mt8186)
PLATFORM="mt8186"
XTENSA_CORE="hifi5_7stg_I64D128"
HOST="xtensa-mt8186-elf"
XTENSA_TOOLS_VERSION="RI-2020.5-linux"
;;
mt8195)
PLATFORM="mt8195"
XTENSA_CORE="hifi4_8195_PROD"

View File

@ -267,6 +267,21 @@ config RENOIR
help
Select if your target platform is renoir-compatible
config MT8186
bool "Build for MTK MT8186"
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 mt8186-compatible
config MT8195
bool "Build for MTK MT8195"
select XT_INTERRUPT_LEVEL_1
@ -482,6 +497,7 @@ config RIMAGE_SIGNING_SCHEMA
default "imx8m" if IMX8M
default "imx8ulp" if IMX8ULP
default "rn" if RENOIR
default "mt8186" if MT8186
default "mt8195" if MT8195
default ""
help