soc: arm: stm32f4: Add Initial MPU Support
This patch adds initial MPU support to STM32F401XE. The boot configuration prevents the following security issues: * Prevent to read at an address that is reserved in the memory map. * Prevent to write into the boot Flash/ROM. * Prevent the application to access to the BootROM. * Prevent from running code located in SRAM. Change-Id: I4dc0669009bd5c0a829a69f8ff417c787b7043ed Signed-off-by: Vincenzo Frascino <vincenzo.frascino@linaro.org>
This commit is contained in:
parent
25dbc4e5bc
commit
5951e45580
5 changed files with 145 additions and 0 deletions
|
@ -22,3 +22,23 @@ config SOC_STM32F429XX
|
|||
bool "STM32F429XX"
|
||||
|
||||
endchoice
|
||||
|
||||
config STM32_ARM_MPU_ENABLE
|
||||
bool "Enable MPU"
|
||||
depends on CPU_HAS_MPU
|
||||
select ARM_MPU
|
||||
default n
|
||||
help
|
||||
Enable MPU
|
||||
|
||||
choice
|
||||
prompt "Configure Bootloader Options"
|
||||
depends on MPU_ENABLE
|
||||
|
||||
config BL_BOOTLOADER
|
||||
bool "Build the Bootloader"
|
||||
|
||||
config BL_APPLICATION
|
||||
bool "Build an Application"
|
||||
|
||||
endchoice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue