summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorzhouji <[email protected]>2021-05-24 17:19:05 +0800
committerzhouji <[email protected]>2021-05-27 17:44:44 +0800
commit3350b0ba4e091f21537c89ecc727a05d56d112be (patch)
treece3596da838fe5266664b9988dbd431a98a930b3 /libcpu
parentd6e86a67bbf791d19d7637cdcca69de3904470af (diff)
[update] 整理cortex-a kconfig菜单,并更新相关BSP的配置。
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/Kconfig21
1 files changed, 10 insertions, 11 deletions
diff --git a/libcpu/Kconfig b/libcpu/Kconfig
index bb54b487c7..d0fa40d1bd 100644
--- a/libcpu/Kconfig
+++ b/libcpu/Kconfig
@@ -57,25 +57,24 @@ config ARCH_ARM_ARM11
config ARCH_ARM_CORTEX_A
bool
select ARCH_ARM
+ select RT_USING_CPU_FFS
if ARCH_ARM_CORTEX_A
config RT_SMP_AUTO_BOOT
bool
default n
- choice
- prompt "GIC controller selection"
- default RT_USING_GIC_V2
-
- config RT_USING_GIC_V2
- bool " Gic version 2 "
+ config RT_USING_GIC_V2
+ bool
+ default n
- config RT_USING_GIC_V3
- bool " Gic version 3 "
+ config RT_USING_GIC_V3
+ bool
+ default n
- config RT_NO_USING_GIC
- bool " GIC controller is not used "
- endchoice
+ config RT_NO_USING_GIC
+ bool
+ default y if !RT_USING_GIC_V2 && !RT_USING_GIC_V3
endif
config ARCH_ARM_CORTEX_A5