arch: beetle: Remove ARM_MPU_ENABLE option.
The ARM_MPU_ENABLE option is just selecting ARM_MPU option, which could be also controlled through menuconfig. This commit removes the ARM_MPU_ENABLE option and replaces its usage by ARM_MPU option. Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
This commit is contained in:
parent
eb1ee5f1ee
commit
c4cd4cfe7f
3 changed files with 3 additions and 9 deletions
|
@ -16,8 +16,9 @@ CONFIG_RUNTIME_NMI=y
|
|||
CONFIG_CLOCK_CONTROL=y
|
||||
# 24MHz system clock
|
||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=24000000
|
||||
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU_ENABLE=y
|
||||
CONFIG_ARM_MPU=y
|
||||
|
||||
# GPIOs
|
||||
CONFIG_GPIO=y
|
||||
|
|
|
@ -2,4 +2,4 @@ zephyr_sources(
|
|||
soc.c
|
||||
power.c
|
||||
)
|
||||
zephyr_sources_ifdef(CONFIG_ARM_MPU_ENABLE arm_mpu_regions.c)
|
||||
zephyr_sources_ifdef(CONFIG_ARM_MPU arm_mpu_regions.c)
|
||||
|
|
|
@ -14,10 +14,3 @@ config SOC_BEETLE_R0
|
|||
bool "ARM BEETLE R0"
|
||||
|
||||
endchoice
|
||||
|
||||
config ARM_MPU_ENABLE
|
||||
bool "Enable MPU on ARM Beetle"
|
||||
depends on CPU_HAS_MPU
|
||||
select ARM_MPU
|
||||
help
|
||||
Enable MPU support on ARM Beetle SoCs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue