Skip to content

Commit

Permalink
soc: Remove soc_legacy folder and move ARM Kconfig
Browse files Browse the repository at this point in the history
Removes the soc_legacy folder which is left over from the
transition to hwmv2 and moves the Kconfig for ARM to arch

Signed-off-by: Jamie McCrae <[email protected]>
  • Loading branch information
nordicjm authored and carlescufi committed Mar 1, 2024
1 parent f12cb09 commit ca21474
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 74 deletions.
43 changes: 43 additions & 0 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,47 @@ config ARM_ON_EXIT_CPU_IDLE
rsource "core/Kconfig"
rsource "core/Kconfig.vfp"

# General options signifying CPU capabilities of ARM SoCs
config CPU_HAS_ARM_MPU
bool
select CPU_HAS_MPU
help
This option is enabled when the CPU has a Memory Protection Unit (MPU)
in ARM flavor.

config CPU_HAS_NXP_MPU
bool
select CPU_HAS_MPU
help
This option is enabled when the CPU has a Memory Protection Unit (MPU)
in NXP flavor.

config CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
bool "Custom fixed SoC MPU region definition"
help
If enabled, this option signifies that the SoC will
define and configure its own fixed MPU regions in the
SoC definition. These fixed MPU regions are currently
used to set Flash and SRAM default access policies and
they are programmed at boot time.

config CPU_HAS_ARM_SAU
bool
select CPU_HAS_TEE
help
MCU implements the ARM Security Attribution Unit (SAU).

config CPU_HAS_NRF_IDAU
bool
select CPU_HAS_TEE
help
MCU implements the nRF (vendor-specific) Security Attribution Unit.
(IDAU: "Implementation-Defined Attribution Unit", in accordance with
ARM terminology).

config HAS_SWO
bool
help
When enabled, indicates that SoC has an SWO output

endmenu
7 changes: 0 additions & 7 deletions soc/soc_legacy/arm/CMakeLists.txt

This file was deleted.

53 changes: 0 additions & 53 deletions soc/soc_legacy/arm/Kconfig

This file was deleted.

7 changes: 0 additions & 7 deletions soc/soc_legacy/riscv/CMakeLists.txt

This file was deleted.

7 changes: 0 additions & 7 deletions soc/soc_legacy/xtensa/CMakeLists.txt

This file was deleted.

0 comments on commit ca21474

Please sign in to comment.