Kconfig: add mt8195 to Kconfig

add mt8195 to Kconfig
add mediatek config for mtk platform

Signed-off-by: YC Hung <yc.hung@mediatek.com>
Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
This commit is contained in:
Allen-KH Cheng 2021-09-09 19:22:10 +08:00 committed by Liam Girdwood
parent a944603502
commit a43193bb3f
2 changed files with 23 additions and 0 deletions

View File

@ -31,6 +31,8 @@ elseif(CONFIG_IMX8M)
set(platform_folder imx8m)
elseif(CONFIG_IMX8ULP)
set(platform_folder imx8ulp)
elseif(CONFIG_MT8195)
set(platform_folder mt8195)
endif()
if(CONFIG_CAVS)

View File

@ -245,6 +245,19 @@ config RENOIR
help
Select if your target platform is renoir-compatible
config MT8195
bool "Build for MTK MT8195"
select XT_INTERRUPT_LEVEL_1
select XT_INTERRUPT_LEVEL_2
select XT_INTERRUPT_LEVEL_3
select DUMMY_DMA
select HOST_PTABLE
select XT_WAITI_DELAY
select MEDIATEK
select SCHEDULE_DMA_MULTI_CHANNEL
help
Select if your target platform is mt8195-compatible
endchoice
config MAX_CORE_COUNT
@ -291,6 +304,13 @@ config IMX
This has to be selected for every i.MX NXP platform.
It enables NXP platforms-specific features.
config MEDIATEK
bool
default n
help
This has to be selected for every Mediatek platform.
It enables Mediatek platforms-specific features.
config CAVS
bool
default n
@ -427,6 +447,7 @@ config RIMAGE_SIGNING_SCHEMA
default "imx8m" if IMX8M
default "imx8ulp" if IMX8ULP
default "rn" if RENOIR
default "mt8195" if MT8195
default ""
help
Signing schema name used by rimage to decide how to build final binary