Brian Swetland | 1637de0 | 2008-09-09 07:13:33 -0700 | [diff] [blame] | 1 | if ARCH_MSM |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 2 | |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 3 | choice |
| 4 | prompt "Qualcomm MSM SoC Type" |
| 5 | default ARCH_MSM7X00A |
| 6 | |
| 7 | config ARCH_MSM7X00A |
| 8 | bool "MSM7x00A / MSM7x01A" |
Daniel Walker | efdfb2b | 2010-10-12 11:52:14 -0700 | [diff] [blame] | 9 | select MACH_TROUT if !MACH_HALIBUT |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 10 | select ARCH_MSM_ARM11 |
Daniel Walker | 3a9f346 | 2010-04-22 14:16:46 -0700 | [diff] [blame] | 11 | select MSM_SMD |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 12 | select MSM_SMD_PKG3 |
| 13 | select CPU_V6 |
Steve Muckle | c8aabae | 2010-04-21 16:20:27 -0700 | [diff] [blame] | 14 | select MSM_PROC_COMM |
Daniel Walker | 46fe5f2 | 2010-08-18 11:00:25 -0700 | [diff] [blame] | 15 | select HAS_MSM_DEBUG_UART_PHYS |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 16 | |
Daniel Walker | 7b52161 | 2010-05-06 12:44:57 -0700 | [diff] [blame] | 17 | config ARCH_MSM7X30 |
| 18 | bool "MSM7x30" |
Daniel Walker | efdfb2b | 2010-10-12 11:52:14 -0700 | [diff] [blame] | 19 | select MACH_MSM7X30_SURF # if ! |
Daniel Walker | 7b52161 | 2010-05-06 12:44:57 -0700 | [diff] [blame] | 20 | select ARCH_MSM_SCORPION |
| 21 | select MSM_SMD |
| 22 | select MSM_VIC |
| 23 | select CPU_V7 |
Gregory Bean | ab78cde | 2010-09-01 16:26:12 -0700 | [diff] [blame] | 24 | select MSM_GPIOMUX |
Steve Muckle | c8aabae | 2010-04-21 16:20:27 -0700 | [diff] [blame] | 25 | select MSM_PROC_COMM |
Daniel Walker | 46fe5f2 | 2010-08-18 11:00:25 -0700 | [diff] [blame] | 26 | select HAS_MSM_DEBUG_UART_PHYS |
Daniel Walker | 7b52161 | 2010-05-06 12:44:57 -0700 | [diff] [blame] | 27 | |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 28 | config ARCH_QSD8X50 |
| 29 | bool "QSD8X50" |
Daniel Walker | efdfb2b | 2010-10-12 11:52:14 -0700 | [diff] [blame] | 30 | select MACH_QSD8X50_SURF if !MACH_QSD8X50A_ST1_5 |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 31 | select ARCH_MSM_SCORPION |
| 32 | select MSM_SMD |
| 33 | select MSM_VIC |
| 34 | select CPU_V7 |
Gregory Bean | ab78cde | 2010-09-01 16:26:12 -0700 | [diff] [blame] | 35 | select MSM_GPIOMUX |
Steve Muckle | c8aabae | 2010-04-21 16:20:27 -0700 | [diff] [blame] | 36 | select MSM_PROC_COMM |
Daniel Walker | 46fe5f2 | 2010-08-18 11:00:25 -0700 | [diff] [blame] | 37 | select HAS_MSM_DEBUG_UART_PHYS |
| 38 | |
Jeff Ohlstein | 569fb6e | 2010-08-12 13:02:56 -0700 | [diff] [blame] | 39 | config ARCH_MSM8X60 |
| 40 | bool "MSM8X60" |
Daniel Walker | efdfb2b | 2010-10-12 11:52:14 -0700 | [diff] [blame] | 41 | select MACH_MSM8X60_SURF if (!MACH_MSM8X60_RUMI3 && !MACH_MSM8X60_SIM \ |
| 42 | && !MACH_MSM8X60_FFA) |
Jeff Ohlstein | e14411d | 2010-11-30 13:06:36 -0800 | [diff] [blame] | 43 | select ARCH_MSM_SCORPIONMP |
Jeff Ohlstein | 569fb6e | 2010-08-12 13:02:56 -0700 | [diff] [blame] | 44 | select ARM_GIC |
| 45 | select CPU_V7 |
| 46 | select MSM_V2_TLMM |
| 47 | select MSM_GPIOMUX |
Stephen Boyd | 2a1eb58 | 2010-08-27 10:01:23 -0700 | [diff] [blame] | 48 | select MSM_SCM if SMP |
Jeff Ohlstein | 569fb6e | 2010-08-12 13:02:56 -0700 | [diff] [blame] | 49 | |
Stepan Moskovchenko | f441ca2d | 2010-12-01 19:31:16 -0800 | [diff] [blame] | 50 | config ARCH_MSM8960 |
| 51 | bool "MSM8960" |
| 52 | select ARCH_MSM_SCORPIONMP |
Stepan Moskovchenko | 50ede4e | 2010-12-13 18:12:19 -0800 | [diff] [blame] | 53 | select MACH_MSM8960_SIM if (!MACH_MSM8960_RUMI3) |
Stepan Moskovchenko | f441ca2d | 2010-12-01 19:31:16 -0800 | [diff] [blame] | 54 | select ARM_GIC |
| 55 | select CPU_V7 |
| 56 | select MSM_V2_TLMM |
| 57 | select MSM_GPIOMUX |
| 58 | select MSM_SCM if SMP |
| 59 | |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 60 | endchoice |
| 61 | |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 62 | config MSM_SOC_REV_A |
| 63 | bool |
Daniel Walker | 89c3ded | 2010-11-22 12:35:41 -0800 | [diff] [blame] | 64 | config ARCH_MSM_SCORPIONMP |
| 65 | bool |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 66 | |
| 67 | config ARCH_MSM_ARM11 |
| 68 | bool |
| 69 | config ARCH_MSM_SCORPION |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 70 | bool |
| 71 | |
Daniel Walker | 46fe5f2 | 2010-08-18 11:00:25 -0700 | [diff] [blame] | 72 | config HAS_MSM_DEBUG_UART_PHYS |
| 73 | bool |
| 74 | |
Gregory Bean | f9f3d31 | 2010-04-30 22:06:50 -0700 | [diff] [blame] | 75 | config MSM_VIC |
| 76 | bool |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 77 | |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 78 | menu "Qualcomm MSM Board Type" |
| 79 | |
| 80 | config MACH_HALIBUT |
Brian Swetland | 1637de0 | 2008-09-09 07:13:33 -0700 | [diff] [blame] | 81 | depends on ARCH_MSM |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 82 | depends on ARCH_MSM7X00A |
| 83 | bool "Halibut Board (QCT SURF7201A)" |
| 84 | help |
| 85 | Support for the Qualcomm SURF7201A eval board. |
| 86 | |
| 87 | config MACH_TROUT |
| 88 | depends on ARCH_MSM |
| 89 | depends on ARCH_MSM7X00A |
| 90 | bool "HTC Dream (aka trout)" |
| 91 | help |
| 92 | Support for the HTC Dream, T-Mobile G1, Android ADP1 devices. |
| 93 | |
Daniel Walker | 7b52161 | 2010-05-06 12:44:57 -0700 | [diff] [blame] | 94 | config MACH_MSM7X30_SURF |
| 95 | depends on ARCH_MSM7X30 |
| 96 | bool "MSM7x30 SURF" |
| 97 | help |
| 98 | Support for the Qualcomm MSM7x30 SURF eval board. |
| 99 | |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 100 | config MACH_QSD8X50_SURF |
| 101 | depends on ARCH_QSD8X50 |
| 102 | bool "QSD8x50 SURF" |
| 103 | help |
| 104 | Support for the Qualcomm QSD8x50 SURF eval board. |
| 105 | |
| 106 | config MACH_QSD8X50A_ST1_5 |
| 107 | depends on ARCH_QSD8X50 |
| 108 | select MSM_SOC_REV_A |
| 109 | bool "QSD8x50A ST1.5" |
| 110 | help |
| 111 | Support for the Qualcomm ST1.5. |
| 112 | |
Steve Muckle | a55df6e | 2010-01-07 12:43:24 -0800 | [diff] [blame] | 113 | config MACH_MSM8X60_RUMI3 |
| 114 | depends on ARCH_MSM8X60 |
| 115 | bool "MSM8x60 RUMI3" |
| 116 | help |
| 117 | Support for the Qualcomm MSM8x60 RUMI3 emulator. |
| 118 | |
Steve Muckle | 49b76f7 | 2010-03-19 17:00:08 -0700 | [diff] [blame] | 119 | config MACH_MSM8X60_SURF |
| 120 | depends on ARCH_MSM8X60 |
| 121 | bool "MSM8x60 SURF" |
| 122 | help |
| 123 | Support for the Qualcomm MSM8x60 SURF eval board. |
| 124 | |
Steve Muckle | 57bbf1c | 2010-01-07 12:51:10 -0800 | [diff] [blame] | 125 | config MACH_MSM8X60_SIM |
| 126 | depends on ARCH_MSM8X60 |
| 127 | bool "MSM8x60 Simulator" |
| 128 | help |
| 129 | Support for the Qualcomm MSM8x60 simulator. |
| 130 | |
Gregory Bean | 69b7f6f | 2010-04-04 22:29:02 -0700 | [diff] [blame] | 131 | config MACH_MSM8X60_FFA |
| 132 | depends on ARCH_MSM8X60 |
| 133 | bool "MSM8x60 FFA" |
| 134 | help |
| 135 | Support for the Qualcomm MSM8x60 FFA eval board. |
| 136 | |
Stepan Moskovchenko | f441ca2d | 2010-12-01 19:31:16 -0800 | [diff] [blame] | 137 | config MACH_MSM8960_SIM |
| 138 | depends on ARCH_MSM8960 |
| 139 | bool "MSM8960 Simulator" |
| 140 | help |
| 141 | Support for the Qualcomm MSM8960 simulator. |
| 142 | |
Stepan Moskovchenko | 50ede4e | 2010-12-13 18:12:19 -0800 | [diff] [blame] | 143 | config MACH_MSM8960_RUMI3 |
| 144 | depends on ARCH_MSM8960 |
| 145 | bool "MSM8960 RUMI3" |
| 146 | help |
| 147 | Support for the Qualcomm MSM8960 RUMI3 emulator. |
| 148 | |
Daniel Walker | 4ad15e6 | 2010-05-06 13:54:17 -0700 | [diff] [blame] | 149 | endmenu |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 150 | |
Stepan Moskovchenko | 24f6173 | 2011-02-11 12:28:16 -0800 | [diff] [blame] | 151 | config MSM_IOMMU |
| 152 | bool "MSM IOMMU Support" |
Stepan Moskovchenko | 6499f0a | 2011-02-11 12:28:18 -0800 | [diff] [blame] | 153 | depends on ARCH_MSM8X60 || ARCH_MSM8960 |
Stepan Moskovchenko | 24f6173 | 2011-02-11 12:28:16 -0800 | [diff] [blame] | 154 | select IOMMU_API |
| 155 | default n |
| 156 | help |
| 157 | Support for the IOMMUs found on certain Qualcomm SOCs. |
| 158 | These IOMMUs allow virtualization of the address space used by most |
| 159 | cores within the multimedia subsystem. |
| 160 | |
| 161 | If unsure, say N here. |
| 162 | |
Stepan Moskovchenko | 2607b0a | 2010-11-15 17:46:10 -0800 | [diff] [blame] | 163 | config IOMMU_PGTABLES_L2 |
| 164 | def_bool y |
Stepan Moskovchenko | c7831df | 2011-02-28 16:04:56 -0800 | [diff] [blame] | 165 | depends on MSM_IOMMU && MMU && SMP && CPU_DCACHE_DISABLE=n |
Stepan Moskovchenko | 2607b0a | 2010-11-15 17:46:10 -0800 | [diff] [blame] | 166 | |
Pavel Machek | 6339f66 | 2009-11-02 11:48:29 +0100 | [diff] [blame] | 167 | config MSM_DEBUG_UART |
| 168 | int |
| 169 | default 1 if MSM_DEBUG_UART1 |
| 170 | default 2 if MSM_DEBUG_UART2 |
| 171 | default 3 if MSM_DEBUG_UART3 |
| 172 | |
Daniel Walker | 46fe5f2 | 2010-08-18 11:00:25 -0700 | [diff] [blame] | 173 | if HAS_MSM_DEBUG_UART_PHYS |
Pavel Machek | 6339f66 | 2009-11-02 11:48:29 +0100 | [diff] [blame] | 174 | choice |
| 175 | prompt "Debug UART" |
| 176 | |
| 177 | default MSM_DEBUG_UART_NONE |
| 178 | |
| 179 | config MSM_DEBUG_UART_NONE |
| 180 | bool "None" |
| 181 | |
| 182 | config MSM_DEBUG_UART1 |
| 183 | bool "UART1" |
| 184 | |
| 185 | config MSM_DEBUG_UART2 |
| 186 | bool "UART2" |
| 187 | |
| 188 | config MSM_DEBUG_UART3 |
| 189 | bool "UART3" |
| 190 | endchoice |
Daniel Walker | 46fe5f2 | 2010-08-18 11:00:25 -0700 | [diff] [blame] | 191 | endif |
Pavel Machek | 6339f66 | 2009-11-02 11:48:29 +0100 | [diff] [blame] | 192 | |
Daniel Walker | bf83de4 | 2010-03-16 16:29:44 -0700 | [diff] [blame] | 193 | config MSM_SMD_PKG3 |
| 194 | bool |
| 195 | |
Steve Muckle | c8aabae | 2010-04-21 16:20:27 -0700 | [diff] [blame] | 196 | config MSM_PROC_COMM |
| 197 | bool |
| 198 | |
Brian Swetland | 2eb44eb | 2008-09-29 16:00:48 -0700 | [diff] [blame] | 199 | config MSM_SMD |
Daniel Walker | 3a9f346 | 2010-04-22 14:16:46 -0700 | [diff] [blame] | 200 | bool |
Brian Swetland | 2eb44eb | 2008-09-29 16:00:48 -0700 | [diff] [blame] | 201 | |
Gregory Bean | ab78cde | 2010-09-01 16:26:12 -0700 | [diff] [blame] | 202 | config MSM_GPIOMUX |
| 203 | bool |
| 204 | |
Gregory Bean | 1963a2a | 2010-08-28 10:05:44 -0700 | [diff] [blame] | 205 | config MSM_V2_TLMM |
| 206 | bool |
Stepan Moskovchenko | 0ab84745 | 2010-11-12 19:29:57 -0800 | [diff] [blame] | 207 | |
| 208 | config IOMMU_API |
| 209 | bool |
Stephen Boyd | 2a1eb58 | 2010-08-27 10:01:23 -0700 | [diff] [blame] | 210 | |
| 211 | config MSM_SCM |
| 212 | bool |
Brian Swetland | 9e73c84 | 2007-11-26 04:12:13 -0800 | [diff] [blame] | 213 | endif |