-
Notifications
You must be signed in to change notification settings - Fork 349
src/platform: Add "mtk" Zephyr platform for MediaTek DSPs #9755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
e49e31e
3b6df4a
2763b7d
f67cb28
72861bf
827ea54
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Boilerplate. Because the "Platform" is a kconfig "choice" (of which | ||
| # "MTK" is an member), it can't be selected automatically from other | ||
| # kconfigs, nor expressed as a default. Don't put anything else here. | ||
| # Board-level config goes in Zephyr (and ideally in DTS). App-level | ||
| # config goes in prj.conf. | ||
| CONFIG_MTK=y | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Boilerplate. Because the "Platform" is a kconfig "choice" (of which | ||
| # "MTK" is an member), it can't be selected automatically from other | ||
| # kconfigs, nor expressed as a default. Don't put anything else here. | ||
| # Board-level config goes in Zephyr (and ideally in DTS). App-level | ||
| # config goes in prj.conf. | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just a note it is accepted practise use to put vendor specific app settings in these board files. E.g. Intel example #9609 . I do agree anything that can be put in Zephyr board files/DTS or the app prj.conf, should not be put here. |
||
| CONFIG_MTK=y | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Boilerplate. Because the "Platform" is a kconfig "choice" (of which | ||
| # "MTK" is an member), it can't be selected automatically from other | ||
| # kconfigs, nor expressed as a default. Don't put anything else here. | ||
| # Board-level config goes in Zephyr (and ideally in DTS). App-level | ||
| # config goes in prj.conf. | ||
| CONFIG_MTK=y |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Boilerplate. Because the "Platform" is a kconfig "choice" (of which | ||
| # "MTK" is an member), it can't be selected automatically from other | ||
| # kconfigs, nor expressed as a default. Don't put anything else here. | ||
| # Board-level config goes in Zephyr (and ideally in DTS). App-level | ||
| # config goes in prj.conf. | ||
| CONFIG_MTK=y |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -231,7 +231,7 @@ config ACP_7_0 | |
| Select if your target platform is acp_7_0-compatible | ||
|
|
||
| config MT8186 | ||
| bool "Build for MTK MT8186" | ||
| bool "Build for MTK MT8186 (XTOS)" | ||
| select XT_INTERRUPT_LEVEL_1 | ||
| select XT_INTERRUPT_LEVEL_2 | ||
| select XT_INTERRUPT_LEVEL_3 | ||
|
|
@@ -244,9 +244,10 @@ config MT8186 | |
| select SCHEDULE_DMA_MULTI_CHANNEL | ||
| help | ||
| Select if your target platform is mt8186-compatible | ||
| Builds legacy/xtos firmware | ||
|
|
||
| config MT8188 | ||
| bool "Build for MTK MT8188" | ||
| bool "Build for MTK MT8188 (XTOS)" | ||
| select XT_INTERRUPT_LEVEL_1 | ||
| select XT_INTERRUPT_LEVEL_2 | ||
| select XT_INTERRUPT_LEVEL_3 | ||
|
|
@@ -259,9 +260,10 @@ config MT8188 | |
| select SCHEDULE_DMA_MULTI_CHANNEL | ||
| help | ||
| Select if your target platform is mt8188-compatible. | ||
| Builds legacy/xtos firmware | ||
|
|
||
| config MT8195 | ||
| bool "Build for MTK MT8195" | ||
| bool "Build for MTK MT8195 (XTOS)" | ||
| select XT_INTERRUPT_LEVEL_1 | ||
| select XT_INTERRUPT_LEVEL_2 | ||
| select XT_INTERRUPT_LEVEL_3 | ||
|
|
@@ -272,6 +274,14 @@ config MT8195 | |
| select SCHEDULE_DMA_MULTI_CHANNEL | ||
| help | ||
| Select if your target platform is mt8195-compatible | ||
| Builds legacy/xtos firmware | ||
|
|
||
| config MTK | ||
| bool "Build for Mediatek (Zephyr)" | ||
| select SCHEDULE_DMA_MULTI_CHANNEL | ||
| select HOST_PTABLE | ||
| help | ||
| Select if your target is a Mediatek DSP. Builds Zephyr firmware. | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will likely conflict with #9758 . Not a big issue, just need one to go first and then rebase... |
||
|
|
||
| endchoice | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.