diff options
Diffstat (limited to 'arch/arm/mach-shmobile/Kconfig')
-rw-r--r-- | arch/arm/mach-shmobile/Kconfig | 48 |
1 files changed, 21 insertions, 27 deletions
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 2f5c6f319a71..a182008e3aeb 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig | |||
@@ -5,18 +5,14 @@ config ARCH_SHMOBILE_MULTI | |||
5 | bool "Renesas ARM SoCs" if ARCH_MULTI_V7 | 5 | bool "Renesas ARM SoCs" if ARCH_MULTI_V7 |
6 | depends on MMU | 6 | depends on MMU |
7 | select ARCH_SHMOBILE | 7 | select ARCH_SHMOBILE |
8 | select CPU_V7 | ||
9 | select GENERIC_CLOCKEVENTS | ||
10 | select HAVE_ARM_SCU if SMP | 8 | select HAVE_ARM_SCU if SMP |
11 | select HAVE_ARM_TWD if SMP | 9 | select HAVE_ARM_TWD if SMP |
12 | select HAVE_SMP | ||
13 | select ARM_GIC | 10 | select ARM_GIC |
14 | select MIGHT_HAVE_CACHE_L2X0 | ||
15 | select MIGHT_HAVE_PCI | 11 | select MIGHT_HAVE_PCI |
12 | select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE | ||
16 | select NO_IOPORT | 13 | select NO_IOPORT |
17 | select PINCTRL | 14 | select PINCTRL |
18 | select ARCH_REQUIRE_GPIOLIB | 15 | select ARCH_REQUIRE_GPIOLIB |
19 | select CLKDEV_LOOKUP | ||
20 | 16 | ||
21 | if ARCH_SHMOBILE_MULTI | 17 | if ARCH_SHMOBILE_MULTI |
22 | 18 | ||
@@ -24,17 +20,21 @@ comment "Renesas ARM SoCs System Type" | |||
24 | 20 | ||
25 | config ARCH_EMEV2 | 21 | config ARCH_EMEV2 |
26 | bool "Emma Mobile EV2" | 22 | bool "Emma Mobile EV2" |
23 | select SYS_SUPPORTS_EM_STI | ||
27 | 24 | ||
28 | config ARCH_R7S72100 | 25 | config ARCH_R7S72100 |
29 | bool "RZ/A1H (R7S72100)" | 26 | bool "RZ/A1H (R7S72100)" |
27 | select SYS_SUPPORTS_SH_MTU2 | ||
30 | 28 | ||
31 | config ARCH_R8A7790 | 29 | config ARCH_R8A7790 |
32 | bool "R-Car H2 (R8A77900)" | 30 | bool "R-Car H2 (R8A77900)" |
33 | select RENESAS_IRQC | 31 | select RENESAS_IRQC |
32 | select SYS_SUPPORTS_SH_CMT | ||
34 | 33 | ||
35 | config ARCH_R8A7791 | 34 | config ARCH_R8A7791 |
36 | bool "R-Car M2 (R8A77910)" | 35 | bool "R-Car M2 (R8A77910)" |
37 | select RENESAS_IRQC | 36 | select RENESAS_IRQC |
37 | select SYS_SUPPORTS_SH_CMT | ||
38 | 38 | ||
39 | comment "Renesas ARM SoCs Board Type" | 39 | comment "Renesas ARM SoCs Board Type" |
40 | 40 | ||
@@ -65,6 +65,8 @@ config ARCH_SH7372 | |||
65 | select ARM_CPU_SUSPEND if PM || CPU_IDLE | 65 | select ARM_CPU_SUSPEND if PM || CPU_IDLE |
66 | select CPU_V7 | 66 | select CPU_V7 |
67 | select SH_CLK_CPG | 67 | select SH_CLK_CPG |
68 | select SYS_SUPPORTS_SH_CMT | ||
69 | select SYS_SUPPORTS_SH_TMU | ||
68 | 70 | ||
69 | config ARCH_SH73A0 | 71 | config ARCH_SH73A0 |
70 | bool "SH-Mobile AG5 (R8A73A00)" | 72 | bool "SH-Mobile AG5 (R8A73A00)" |
@@ -74,6 +76,8 @@ config ARCH_SH73A0 | |||
74 | select I2C | 76 | select I2C |
75 | select SH_CLK_CPG | 77 | select SH_CLK_CPG |
76 | select RENESAS_INTC_IRQPIN | 78 | select RENESAS_INTC_IRQPIN |
79 | select SYS_SUPPORTS_SH_CMT | ||
80 | select SYS_SUPPORTS_SH_TMU | ||
77 | 81 | ||
78 | config ARCH_R8A73A4 | 82 | config ARCH_R8A73A4 |
79 | bool "R-Mobile APE6 (R8A73A40)" | 83 | bool "R-Mobile APE6 (R8A73A40)" |
@@ -84,6 +88,8 @@ config ARCH_R8A73A4 | |||
84 | select RENESAS_IRQC | 88 | select RENESAS_IRQC |
85 | select ARCH_HAS_CPUFREQ | 89 | select ARCH_HAS_CPUFREQ |
86 | select ARCH_HAS_OPP | 90 | select ARCH_HAS_OPP |
91 | select SYS_SUPPORTS_SH_CMT | ||
92 | select SYS_SUPPORTS_SH_TMU | ||
87 | 93 | ||
88 | config ARCH_R8A7740 | 94 | config ARCH_R8A7740 |
89 | bool "R-Mobile A1 (R8A77400)" | 95 | bool "R-Mobile A1 (R8A77400)" |
@@ -92,6 +98,8 @@ config ARCH_R8A7740 | |||
92 | select CPU_V7 | 98 | select CPU_V7 |
93 | select SH_CLK_CPG | 99 | select SH_CLK_CPG |
94 | select RENESAS_INTC_IRQPIN | 100 | select RENESAS_INTC_IRQPIN |
101 | select SYS_SUPPORTS_SH_CMT | ||
102 | select SYS_SUPPORTS_SH_TMU | ||
95 | 103 | ||
96 | config ARCH_R8A7778 | 104 | config ARCH_R8A7778 |
97 | bool "R-Car M1A (R8A77781)" | 105 | bool "R-Car M1A (R8A77781)" |
@@ -99,8 +107,7 @@ config ARCH_R8A7778 | |||
99 | select CPU_V7 | 107 | select CPU_V7 |
100 | select SH_CLK_CPG | 108 | select SH_CLK_CPG |
101 | select ARM_GIC | 109 | select ARM_GIC |
102 | select USB_ARCH_HAS_EHCI | 110 | select SYS_SUPPORTS_SH_TMU |
103 | select USB_ARCH_HAS_OHCI | ||
104 | 111 | ||
105 | config ARCH_R8A7779 | 112 | config ARCH_R8A7779 |
106 | bool "R-Car H1 (R8A77790)" | 113 | bool "R-Car H1 (R8A77790)" |
@@ -108,9 +115,8 @@ config ARCH_R8A7779 | |||
108 | select ARM_GIC | 115 | select ARM_GIC |
109 | select CPU_V7 | 116 | select CPU_V7 |
110 | select SH_CLK_CPG | 117 | select SH_CLK_CPG |
111 | select USB_ARCH_HAS_EHCI | ||
112 | select USB_ARCH_HAS_OHCI | ||
113 | select RENESAS_INTC_IRQPIN | 118 | select RENESAS_INTC_IRQPIN |
119 | select SYS_SUPPORTS_SH_TMU | ||
114 | 120 | ||
115 | config ARCH_R8A7790 | 121 | config ARCH_R8A7790 |
116 | bool "R-Car H2 (R8A77900)" | 122 | bool "R-Car H2 (R8A77900)" |
@@ -120,6 +126,8 @@ config ARCH_R8A7790 | |||
120 | select MIGHT_HAVE_PCI | 126 | select MIGHT_HAVE_PCI |
121 | select SH_CLK_CPG | 127 | select SH_CLK_CPG |
122 | select RENESAS_IRQC | 128 | select RENESAS_IRQC |
129 | select SYS_SUPPORTS_SH_CMT | ||
130 | select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE | ||
123 | 131 | ||
124 | config ARCH_R8A7791 | 132 | config ARCH_R8A7791 |
125 | bool "R-Car M2 (R8A77910)" | 133 | bool "R-Car M2 (R8A77910)" |
@@ -129,6 +137,8 @@ config ARCH_R8A7791 | |||
129 | select MIGHT_HAVE_PCI | 137 | select MIGHT_HAVE_PCI |
130 | select SH_CLK_CPG | 138 | select SH_CLK_CPG |
131 | select RENESAS_IRQC | 139 | select RENESAS_IRQC |
140 | select SYS_SUPPORTS_SH_CMT | ||
141 | select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE | ||
132 | 142 | ||
133 | config ARCH_EMEV2 | 143 | config ARCH_EMEV2 |
134 | bool "Emma Mobile EV2" | 144 | bool "Emma Mobile EV2" |
@@ -138,6 +148,7 @@ config ARCH_EMEV2 | |||
138 | select MIGHT_HAVE_PCI | 148 | select MIGHT_HAVE_PCI |
139 | select USE_OF | 149 | select USE_OF |
140 | select AUTO_ZRELADDR | 150 | select AUTO_ZRELADDR |
151 | select SYS_SUPPORTS_EM_STI | ||
141 | 152 | ||
142 | config ARCH_R7S72100 | 153 | config ARCH_R7S72100 |
143 | bool "RZ/A1H (R7S72100)" | 154 | bool "RZ/A1H (R7S72100)" |
@@ -145,6 +156,7 @@ config ARCH_R7S72100 | |||
145 | select ARM_GIC | 156 | select ARM_GIC |
146 | select CPU_V7 | 157 | select CPU_V7 |
147 | select SH_CLK_CPG | 158 | select SH_CLK_CPG |
159 | select SYS_SUPPORTS_SH_MTU2 | ||
148 | 160 | ||
149 | comment "Renesas ARM SoCs Board Type" | 161 | comment "Renesas ARM SoCs Board Type" |
150 | 162 | ||
@@ -325,24 +337,6 @@ config SHMOBILE_TIMER_HZ | |||
325 | want to select a HZ value such as 128 that can evenly divide RCLK. | 337 | want to select a HZ value such as 128 that can evenly divide RCLK. |
326 | A HZ value that does not divide evenly may cause timer drift. | 338 | A HZ value that does not divide evenly may cause timer drift. |
327 | 339 | ||
328 | config SH_TIMER_CMT | ||
329 | bool "CMT timer driver" | ||
330 | default y | ||
331 | help | ||
332 | This enables build of the CMT timer driver. | ||
333 | |||
334 | config SH_TIMER_TMU | ||
335 | bool "TMU timer driver" | ||
336 | default y | ||
337 | help | ||
338 | This enables build of the TMU timer driver. | ||
339 | |||
340 | config EM_TIMER_STI | ||
341 | bool "STI timer driver" | ||
342 | default y | ||
343 | help | ||
344 | This enables build of the STI timer driver. | ||
345 | |||
346 | endmenu | 340 | endmenu |
347 | 341 | ||
348 | endif | 342 | endif |