arch: stm32: Remove STM32_ARM_MPU_ENABLE option.

The STM32_ARM_MPU_ENABLE option is just selecting ARM_MPU option,
which could be also controlled through menuconfig.

This commit removes the STM32_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:
Piotr Zięcik 2018-08-09 12:01:21 +02:00 committed by Carles Cufí
commit eb1ee5f1ee
19 changed files with 18 additions and 25 deletions

View file

@ -18,13 +18,6 @@ config SOC_FAMILY
string
default "st_stm32"
config STM32_ARM_MPU_ENABLE
bool "Enable MPU on STM32"
depends on CPU_HAS_MPU
select ARM_MPU
help
Enable MPU support on STM32 SoCs
source "soc/arm/st_stm32/*/Kconfig.soc"
endif # SOC_FAMILY_STM32

View file

@ -1,2 +1,2 @@
zephyr_sources_ifdef(CONFIG_STM32_ARM_MPU_ENABLE arm_mpu_regions.c)
zephyr_sources_ifdef(CONFIG_ARM_MPU arm_mpu_regions.c)
zephyr_sources(stm32cube_hal.c)