From a43193bb3fc392e814b0dcb589efb6daf9eedbaf Mon Sep 17 00:00:00 2001 From: Allen-KH Cheng Date: Thu, 9 Sep 2021 19:22:10 +0800 Subject: [PATCH] Kconfig: add mt8195 to Kconfig add mt8195 to Kconfig add mediatek config for mtk platform Signed-off-by: YC Hung Signed-off-by: Allen-KH Cheng --- src/arch/xtensa/CMakeLists.txt | 2 ++ src/platform/Kconfig | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/src/arch/xtensa/CMakeLists.txt b/src/arch/xtensa/CMakeLists.txt index a2ba820be6ae..0f24518c4567 100644 --- a/src/arch/xtensa/CMakeLists.txt +++ b/src/arch/xtensa/CMakeLists.txt @@ -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) diff --git a/src/platform/Kconfig b/src/platform/Kconfig index 412964e26eba..e547e5880b3f 100644 --- a/src/platform/Kconfig +++ b/src/platform/Kconfig @@ -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