diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-13 18:00:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-13 18:00:26 -0400 |
commit | 9663398a094e3b85415e27fe6047b067f5f81f99 (patch) | |
tree | 5b59c3ca79340d3c714addbfc1f61ea014a76996 /arch/arm/mach-omap2/Kconfig | |
parent | bfd65dd9fe42b54c6f4eabbabc40bda9e25dcf93 (diff) | |
parent | d4e1c7ef46e9b02dbf691da0c84d653f88670213 (diff) |
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson:
"This is our first set of fixes from arm-soc for 3.11.
- A handful of build and warning fixes from Arnd
- A collection of OMAP fixes
- defconfig updates to make the default configs more useful for real
use (and testing) out of the box on hardware
And a couple of other small fixes. Some of these have been recently
applied but it's normally how we deal with fixes, with less bake time
in -next needed"
* tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (32 commits)
arm: multi_v7_defconfig: Tweaks for omap and sunxi
arm: multi_v7_defconfig: add i.MX options and NFS root
ARM: omap2: add select of TI_PRIV_EDMA
ARM: exynos: select PM_GENERIC_DOMAINS only when used
ARM: ixp4xx: avoid circular header dependency
ARM: OMAP: omap_common_late_init may be unused
ARM: sti: move DEBUG_STI_UART into alphabetical order
ARM: OMAP: build mach-omap code only if needed
ARM: zynq: use DT_MACHINE_START
ARM: omap5: omap5 has SCU and TWD
ARM: OMAP2+: omap2plus_defconfig: Enable appended DTB support
ARM: OMAP2+: Enable TI_EDMA in omap2plus_defconfig
ARM: OMAP2+: omap2plus_defconfig: enable DRA752 thermal support by default
ARM: OMAP2+: omap2plus_defconfig: enable TI bandgap driver
ARM: OMAP2+: devices: remove duplicated include from devices.c
ARM: OMAP3: igep0020: Set DSS pins in correct mux mode.
ARM: OMAP2+: N900: enable N900-specific drivers even if device tree is enabled
ARM: OMAP2+: Cocci spatch "ptr_ret.spatch"
ARM: OMAP2+: Remove obsolete Makefile line
ARM: OMAP5: Enable Cortex A15 errata 798181
...
Diffstat (limited to 'arch/arm/mach-omap2/Kconfig')
-rw-r--r-- | arch/arm/mach-omap2/Kconfig | 153 |
1 files changed, 78 insertions, 75 deletions
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index c7b32a966f67..627fa7e41fba 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -1,63 +1,10 @@ | |||
1 | config ARCH_OMAP | 1 | config ARCH_OMAP |
2 | bool | 2 | bool |
3 | 3 | ||
4 | config ARCH_OMAP2PLUS | ||
5 | bool "TI OMAP2/3/4/5 SoCs with device tree support" if (ARCH_MULTI_V6 || ARCH_MULTI_V7) | ||
6 | select ARCH_HAS_CPUFREQ | ||
7 | select ARCH_HAS_BANDGAP | ||
8 | select ARCH_HAS_HOLES_MEMORYMODEL | ||
9 | select ARCH_OMAP | ||
10 | select ARCH_REQUIRE_GPIOLIB | ||
11 | select CLKDEV_LOOKUP | ||
12 | select CLKSRC_MMIO | ||
13 | select GENERIC_CLOCKEVENTS | ||
14 | select GENERIC_IRQ_CHIP | ||
15 | select HAVE_CLK | ||
16 | select OMAP_DM_TIMER | ||
17 | select PINCTRL | ||
18 | select PROC_DEVICETREE if PROC_FS | ||
19 | select SOC_BUS | ||
20 | select SPARSE_IRQ | ||
21 | select TI_PRIV_EDMA | ||
22 | select USE_OF | ||
23 | help | ||
24 | Systems based on OMAP2, OMAP3, OMAP4 or OMAP5 | ||
25 | |||
26 | |||
27 | if ARCH_OMAP2PLUS | ||
28 | |||
29 | menu "TI OMAP2/3/4 Specific Features" | ||
30 | |||
31 | config ARCH_OMAP2PLUS_TYPICAL | ||
32 | bool "Typical OMAP configuration" | ||
33 | default y | ||
34 | select AEABI | ||
35 | select HIGHMEM | ||
36 | select I2C | ||
37 | select I2C_OMAP | ||
38 | select MENELAUS if ARCH_OMAP2 | ||
39 | select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5 | ||
40 | select PM_RUNTIME | ||
41 | select REGULATOR | ||
42 | select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 | ||
43 | select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4 | ||
44 | select VFP | ||
45 | help | ||
46 | Compile a kernel suitable for booting most boards | ||
47 | |||
48 | config SOC_HAS_OMAP2_SDRC | ||
49 | bool "OMAP2 SDRAM Controller support" | ||
50 | |||
51 | config SOC_HAS_REALTIME_COUNTER | ||
52 | bool "Real time free running counter" | ||
53 | depends on SOC_OMAP5 | ||
54 | default y | ||
55 | |||
56 | config ARCH_OMAP2 | 4 | config ARCH_OMAP2 |
57 | bool "TI OMAP2" | 5 | bool "TI OMAP2" |
58 | depends on ARCH_OMAP2PLUS | ||
59 | depends on ARCH_MULTI_V6 | 6 | depends on ARCH_MULTI_V6 |
60 | default y | 7 | select ARCH_OMAP2PLUS |
61 | select CPU_V6 | 8 | select CPU_V6 |
62 | select MULTI_IRQ_HANDLER | 9 | select MULTI_IRQ_HANDLER |
63 | select SOC_HAS_OMAP2_SDRC | 10 | select SOC_HAS_OMAP2_SDRC |
@@ -65,9 +12,8 @@ config ARCH_OMAP2 | |||
65 | 12 | ||
66 | config ARCH_OMAP3 | 13 | config ARCH_OMAP3 |
67 | bool "TI OMAP3" | 14 | bool "TI OMAP3" |
68 | depends on ARCH_OMAP2PLUS | ||
69 | depends on ARCH_MULTI_V7 | 15 | depends on ARCH_MULTI_V7 |
70 | default y | 16 | select ARCH_OMAP2PLUS |
71 | select ARCH_HAS_OPP | 17 | select ARCH_HAS_OPP |
72 | select ARM_CPU_SUSPEND if PM | 18 | select ARM_CPU_SUSPEND if PM |
73 | select CPU_V7 | 19 | select CPU_V7 |
@@ -81,9 +27,8 @@ config ARCH_OMAP3 | |||
81 | 27 | ||
82 | config ARCH_OMAP4 | 28 | config ARCH_OMAP4 |
83 | bool "TI OMAP4" | 29 | bool "TI OMAP4" |
84 | default y | ||
85 | depends on ARCH_OMAP2PLUS | ||
86 | depends on ARCH_MULTI_V7 | 30 | depends on ARCH_MULTI_V7 |
31 | select ARCH_OMAP2PLUS | ||
87 | select ARCH_HAS_OPP | 32 | select ARCH_HAS_OPP |
88 | select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP | 33 | select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP |
89 | select ARM_CPU_SUSPEND if PM | 34 | select ARM_CPU_SUSPEND if PM |
@@ -108,12 +53,87 @@ config ARCH_OMAP4 | |||
108 | config SOC_OMAP5 | 53 | config SOC_OMAP5 |
109 | bool "TI OMAP5" | 54 | bool "TI OMAP5" |
110 | depends on ARCH_MULTI_V7 | 55 | depends on ARCH_MULTI_V7 |
56 | select ARCH_OMAP2PLUS | ||
111 | select ARM_CPU_SUSPEND if PM | 57 | select ARM_CPU_SUSPEND if PM |
112 | select ARM_GIC | 58 | select ARM_GIC |
113 | select CPU_V7 | 59 | select CPU_V7 |
60 | select HAVE_ARM_SCU if SMP | ||
61 | select HAVE_ARM_TWD if LOCAL_TIMERS | ||
114 | select HAVE_SMP | 62 | select HAVE_SMP |
115 | select COMMON_CLK | 63 | select COMMON_CLK |
116 | select HAVE_ARM_ARCH_TIMER | 64 | select HAVE_ARM_ARCH_TIMER |
65 | select ARM_ERRATA_798181 | ||
66 | |||
67 | config SOC_AM33XX | ||
68 | bool "AM33XX support" | ||
69 | depends on ARCH_MULTI_V7 | ||
70 | select ARCH_OMAP2PLUS | ||
71 | select ARM_CPU_SUSPEND if PM | ||
72 | select CPU_V7 | ||
73 | select MULTI_IRQ_HANDLER | ||
74 | select COMMON_CLK | ||
75 | |||
76 | config SOC_AM43XX | ||
77 | bool "TI AM43x" | ||
78 | depends on ARCH_MULTI_V7 | ||
79 | select CPU_V7 | ||
80 | select ARCH_OMAP2PLUS | ||
81 | select MULTI_IRQ_HANDLER | ||
82 | select ARM_GIC | ||
83 | select COMMON_CLK | ||
84 | select MACH_OMAP_GENERIC | ||
85 | |||
86 | config ARCH_OMAP2PLUS | ||
87 | bool | ||
88 | select ARCH_HAS_BANDGAP | ||
89 | select ARCH_HAS_CPUFREQ | ||
90 | select ARCH_HAS_HOLES_MEMORYMODEL | ||
91 | select ARCH_OMAP | ||
92 | select ARCH_REQUIRE_GPIOLIB | ||
93 | select CLKDEV_LOOKUP | ||
94 | select CLKSRC_MMIO | ||
95 | select GENERIC_CLOCKEVENTS | ||
96 | select GENERIC_IRQ_CHIP | ||
97 | select HAVE_CLK | ||
98 | select OMAP_DM_TIMER | ||
99 | select PINCTRL | ||
100 | select PROC_DEVICETREE if PROC_FS | ||
101 | select SOC_BUS | ||
102 | select SPARSE_IRQ | ||
103 | select TI_PRIV_EDMA | ||
104 | select USE_OF | ||
105 | help | ||
106 | Systems based on OMAP2, OMAP3, OMAP4 or OMAP5 | ||
107 | |||
108 | |||
109 | if ARCH_OMAP2PLUS | ||
110 | |||
111 | menu "TI OMAP2/3/4 Specific Features" | ||
112 | |||
113 | config ARCH_OMAP2PLUS_TYPICAL | ||
114 | bool "Typical OMAP configuration" | ||
115 | default y | ||
116 | select AEABI | ||
117 | select HIGHMEM | ||
118 | select I2C | ||
119 | select I2C_OMAP | ||
120 | select MENELAUS if ARCH_OMAP2 | ||
121 | select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5 | ||
122 | select PM_RUNTIME | ||
123 | select REGULATOR | ||
124 | select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 | ||
125 | select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4 | ||
126 | select VFP | ||
127 | help | ||
128 | Compile a kernel suitable for booting most boards | ||
129 | |||
130 | config SOC_HAS_OMAP2_SDRC | ||
131 | bool "OMAP2 SDRAM Controller support" | ||
132 | |||
133 | config SOC_HAS_REALTIME_COUNTER | ||
134 | bool "Real time free running counter" | ||
135 | depends on SOC_OMAP5 | ||
136 | default y | ||
117 | 137 | ||
118 | comment "OMAP Core Type" | 138 | comment "OMAP Core Type" |
119 | depends on ARCH_OMAP2 | 139 | depends on ARCH_OMAP2 |
@@ -142,23 +162,6 @@ config SOC_TI81XX | |||
142 | depends on ARCH_OMAP3 | 162 | depends on ARCH_OMAP3 |
143 | default y | 163 | default y |
144 | 164 | ||
145 | config SOC_AM33XX | ||
146 | bool "AM33XX support" | ||
147 | depends on ARCH_MULTI_V7 | ||
148 | default y | ||
149 | select ARM_CPU_SUSPEND if PM | ||
150 | select CPU_V7 | ||
151 | select MULTI_IRQ_HANDLER | ||
152 | select COMMON_CLK | ||
153 | |||
154 | config SOC_AM43XX | ||
155 | bool "TI AM43x" | ||
156 | select CPU_V7 | ||
157 | select MULTI_IRQ_HANDLER | ||
158 | select ARM_GIC | ||
159 | select COMMON_CLK | ||
160 | select MACH_OMAP_GENERIC | ||
161 | |||
162 | config OMAP_PACKAGE_ZAF | 165 | config OMAP_PACKAGE_ZAF |
163 | bool | 166 | bool |
164 | 167 | ||