1# 2# SPEAr Platform configuration file 3# 4 5menuconfig PLAT_SPEAR 6 bool "ST SPEAr Family" if ARCH_MULTI_V7 || ARCH_MULTI_V5 7 default PLAT_SPEAR_SINGLE 8 select ARCH_REQUIRE_GPIOLIB 9 select ARM_AMBA 10 select CLKSRC_MMIO 11 select COMMON_CLK 12 select GENERIC_CLOCKEVENTS 13 14if PLAT_SPEAR 15 16config ARCH_SPEAR13XX 17 bool "ST SPEAr13xx" 18 depends on ARCH_MULTI_V7 || PLAT_SPEAR_SINGLE 19 select ARCH_HAS_CPUFREQ 20 select ARM_GIC 21 select CPU_V7 22 select GPIO_SPEAR_SPICS 23 select HAVE_ARM_SCU if SMP 24 select HAVE_ARM_TWD if SMP 25 select HAVE_SMP 26 select MIGHT_HAVE_CACHE_L2X0 27 select PINCTRL 28 select USE_OF 29 help 30 Supports for ARM's SPEAR13XX family 31 32if ARCH_SPEAR13XX 33 34config MACH_SPEAR1310 35 bool "SPEAr1310 Machine support with Device Tree" 36 select PINCTRL_SPEAR1310 37 help 38 Supports ST SPEAr1310 machine configured via the device-tree 39 40config MACH_SPEAR1340 41 bool "SPEAr1340 Machine support with Device Tree" 42 select PINCTRL_SPEAR1340 43 help 44 Supports ST SPEAr1340 machine configured via the device-tree 45 46endif #ARCH_SPEAR13XX 47 48config ARCH_SPEAR3XX 49 bool "ST SPEAr3xx" 50 depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE 51 depends on !ARCH_SPEAR13XX 52 select ARM_VIC 53 select CPU_ARM926T 54 select PINCTRL 55 select USE_OF 56 help 57 Supports for ARM's SPEAR3XX family 58 59if ARCH_SPEAR3XX 60 61config MACH_SPEAR300 62 bool "SPEAr300 Machine support with Device Tree" 63 select PINCTRL_SPEAR300 64 help 65 Supports ST SPEAr300 machine configured via the device-tree 66 67config MACH_SPEAR310 68 bool "SPEAr310 Machine support with Device Tree" 69 select PINCTRL_SPEAR310 70 help 71 Supports ST SPEAr310 machine configured via the device-tree 72 73config MACH_SPEAR320 74 bool "SPEAr320 Machine support with Device Tree" 75 select PINCTRL_SPEAR320 76 help 77 Supports ST SPEAr320 machine configured via the device-tree 78 79endif 80 81config ARCH_SPEAR6XX 82 bool "ST SPEAr6XX" 83 depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE 84 depends on !ARCH_SPEAR13XX 85 select ARM_VIC 86 select CPU_ARM926T 87 help 88 Supports for ARM's SPEAR6XX family 89 90config MACH_SPEAR600 91 def_bool y 92 depends on ARCH_SPEAR6XX 93 select USE_OF 94 help 95 Supports ST SPEAr600 boards configured via the device-treesource "arch/arm/mach-spear6xx/Kconfig" 96 97config ARCH_SPEAR_AUTO 98 def_bool PLAT_SPEAR_SINGLE 99 depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX 100 select ARCH_SPEAR3XX 101 102endif 103 104