forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/arch/arm/mach-sunxi/Kconfig
....@@ -1,6 +1,7 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 menuconfig ARCH_SUNXI
23 bool "Allwinner SoCs"
3
- depends on ARCH_MULTI_V7
4
+ depends on ARCH_MULTI_V5 || ARCH_MULTI_V7
45 select ARCH_HAS_RESET_CONTROLLER
56 select CLKSRC_MMIO
67 select GENERIC_IRQ_CHIP
....@@ -9,8 +10,12 @@
910 select PM_OPP
1011 select SUN4I_TIMER
1112 select RESET_CONTROLLER
13
+ help
14
+ Support for Allwinner ARM-based family of processors
1215
1316 if ARCH_SUNXI
17
+
18
+if ARCH_MULTI_V7
1419
1520 config MACH_SUN4I
1621 bool "Allwinner A10 (sun4i) SoCs support"
....@@ -56,3 +61,16 @@
5661 select ARM_CPU_SUSPEND
5762
5863 endif
64
+
65
+if ARCH_MULTI_V5
66
+
67
+config MACH_SUNIV
68
+ bool "Allwinner ARMv5 F-series (suniv) SoCs support"
69
+ default ARCH_SUNXI
70
+ help
71
+ Support for Allwinner suniv ARMv5 SoCs.
72
+ (F1C100A, F1C100s, F1C200s, F1C500, F1C600)
73
+
74
+endif
75
+
76
+endif