Skip to content

Commit

Permalink
soc: npcm: add mpu support
Browse files Browse the repository at this point in the history
add mpu support, use arm_mpu_regions mapping table.

Signed-off-by: cpchiang <[email protected]>
  • Loading branch information
cpchiang authored and maxdog988 committed May 29, 2024
1 parent c6c14e6 commit 3a327f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions boards/nuvoton/npcm400f_evb/npcm400f_evb_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ CONFIG_BOOTLOADER_SRAM_SIZE=0
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=96000000
CONFIG_XIP=n

# CONFIG_ARM_MPU=y

# Clock Driver
CONFIG_CLOCK_CONTROL=y
CONFIG_CLOCK_CONTROL_NPCM=y
Expand Down
1 change: 0 additions & 1 deletion soc/nuvoton/npcm/npcm4/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ config SOC_SERIES_NPCM4
select SOC_FAMILY_NPCM
select CORTEX_M_SYSTICK
select CPU_HAS_ARM_MPU
select CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
help
Enable support for Nuvoton NPCM4 series

0 comments on commit 3a327f5

Please sign in to comment.