Skip to content

Commit

Permalink
Kconfig: add mt8195 to Kconfig
Browse files Browse the repository at this point in the history
add mt8195 to Kconfig
add mediatek config for mtk platform

Signed-off-by: YC Hung <[email protected]>
Signed-off-by: Allen-KH Cheng <[email protected]>
  • Loading branch information
kuanhsuncheng authored and lgirdwood committed Sep 10, 2021
1 parent a944603 commit a43193b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/arch/xtensa/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
21 changes: 21 additions & 0 deletions src/platform/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a43193b

Please sign in to comment.