arch: arm: rename CPU_HAS_NXP_MPU to align with binding
Following the binding rename to "nxp,sysmpu", update the Kconfig option to align with the binding name and to better reflect the option's purpose. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
parent
a0b23a745d
commit
87798f9e16
15 changed files with 29 additions and 28 deletions
|
@ -16,7 +16,7 @@
|
|||
* have to configure the region appropriately in arm_mpu_regions.c.
|
||||
*/
|
||||
|
||||
#if (defined(CONFIG_ARM_MPU) && !defined(CONFIG_CPU_HAS_NXP_MPU))
|
||||
#if (defined(CONFIG_ARM_MPU) && !defined(CONFIG_CPU_HAS_NXP_SYSMPU))
|
||||
#include <cmsis_core.h>
|
||||
void disable_mpu_rasr_xn(void)
|
||||
{
|
||||
|
@ -71,7 +71,7 @@ void z_early_memset(void *dst, int c, size_t n)
|
|||
|
||||
void *relocate_code_setup(void)
|
||||
{
|
||||
#if (defined(CONFIG_ARM_MPU) && !defined(CONFIG_CPU_HAS_NXP_MPU))
|
||||
#if (defined(CONFIG_ARM_MPU) && !defined(CONFIG_CPU_HAS_NXP_SYSMPU))
|
||||
disable_mpu_rasr_xn();
|
||||
#endif /* CONFIG_ARM_MPU */
|
||||
return NULL;
|
||||
|
|
|
@ -2,21 +2,22 @@ common:
|
|||
tags: linker
|
||||
tests:
|
||||
application_development.code_relocation:
|
||||
filter: not CONFIG_CPU_HAS_NXP_MPU and CONFIG_MINIMAL_LIBC and dt_chosen_enabled("zephyr,itcm")
|
||||
filter: not CONFIG_CPU_HAS_NXP_SYSMPU and CONFIG_MINIMAL_LIBC and
|
||||
dt_chosen_enabled("zephyr,itcm")
|
||||
arch_allow: arm
|
||||
extra_configs:
|
||||
- CONFIG_RELOCATE_TO_ITCM=y
|
||||
platform_allow:
|
||||
- mimxrt1060_evk
|
||||
application_development.code_relocation_kinetis:
|
||||
filter: CONFIG_CPU_HAS_NXP_MPU
|
||||
filter: CONFIG_CPU_HAS_NXP_SYSMPU
|
||||
arch_allow: arm
|
||||
extra_configs:
|
||||
- CONFIG_MPU_ALLOW_FLASH_WRITE=y
|
||||
platform_allow:
|
||||
- frdm_k64f
|
||||
application_development.code_relocation.no_itcm:
|
||||
filter: not CONFIG_CPU_HAS_NXP_MPU and not dt_chosen_enabled("zephyr,itcm")
|
||||
filter: not CONFIG_CPU_HAS_NXP_SYSMPU and not dt_chosen_enabled("zephyr,itcm")
|
||||
arch_allow: arm
|
||||
extra_sections:
|
||||
- _SRAM2_RODATA_SECTION_NAME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue