arch: stm32: Remove unsupported MPU options

Some code was developped around MPU support in ealy stage
of feature introduction. This code was gated under MPU_ENABLE
flag which does not exist and hence code has never been
enabled nor tested.
Since there has been futher MPU development since then, it seems
safer to simply remove that code and associated Kconfig symbols
to avoid that someone starts using it while it was not part of
MPU development track.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2018-05-23 15:19:35 +02:00 committed by Anas Nashif
commit 9559277094
2 changed files with 0 additions and 25 deletions

View file

@ -33,18 +33,6 @@ static struct arm_mpu_region mpu_regions[] = {
MPU_REGION_ENTRY("PPB_0",
PPB_BASE,
REGION_PPB_ATTR(REGION_256M)),
#if defined(CONFIG_BL_APPLICATION)
/* Region 5 */
/*
* The application booting from a bootloader has no access to the
* bootloader region. This behavior can be changed at runtime by
* the bootloader.
*/
MPU_REGION_ENTRY("BOOTLOADER_0",
CONFIG_FLASH_BASE_ADDRESS,
(NORMAL_OUTER_INNER_NON_CACHEABLE_NON_SHAREABLE |
REGION_32K | P_NA_U_NA)),
#endif
};
struct arm_mpu_config mpu_config = {

View file

@ -46,16 +46,3 @@ config SOC_STM32F469XI
bool "STM32F469XI"
endchoice
choice
prompt "Configure Bootloader Options"
depends on MPU_ENABLE
config BL_BOOTLOADER
bool "Build the Bootloader"
config BL_APPLICATION
bool "Build an Application"
endchoice