mirror of https://github.com/thesofproject/sof.git
Kconfig: make `COMPILER_WORKAROUND_CACHE_ATTR` depend on xtensa
`CONFIG_COMPILER_WORKAROUND_CACHE_ATTR` is only applicable to xtensa-based platforms. As such, add dependency on `CONFIG_XTENSA`. Additionally, `CONFIG_IMX` should be selected by all imx platforms. Since not all imx platforms are xtensa-based, make sure `COMPILER_WORKAROUND_CACHE_ATTR` is selected only for those platforms. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
This commit is contained in:
parent
0e5ba1fb70
commit
aa42205027
|
@ -108,6 +108,7 @@ config XT_INTERRUPT_LEVEL_5
|
||||||
config COMPILER_WORKAROUND_CACHE_ATTR
|
config COMPILER_WORKAROUND_CACHE_ATTR
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
depends on XTENSA
|
||||||
help
|
help
|
||||||
Select this to activate use of functions instead of macros
|
Select this to activate use of functions instead of macros
|
||||||
to decide whether an address is cacheable or not.
|
to decide whether an address is cacheable or not.
|
||||||
|
|
|
@ -293,7 +293,7 @@ config HOST
|
||||||
config IMX
|
config IMX
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
select COMPILER_WORKAROUND_CACHE_ATTR
|
select COMPILER_WORKAROUND_CACHE_ATTR if XTENSA
|
||||||
help
|
help
|
||||||
This has to be selected for every i.MX NXP platform.
|
This has to be selected for every i.MX NXP platform.
|
||||||
It enables NXP platforms-specific features.
|
It enables NXP platforms-specific features.
|
||||||
|
|
Loading…
Reference in New Issue