Kconfig 3.8 KB
Newer Older
1
if ARCH_MSM
2

3 4 5 6 7 8
choice
	prompt "Qualcomm MSM SoC Type"
	default ARCH_MSM7X00A

config ARCH_MSM7X00A
	bool "MSM7x00A / MSM7x01A"
9
	select MACH_TROUT if !MACH_HALIBUT
10
	select ARCH_MSM_ARM11
11
	select MSM_SMD
12 13
	select MSM_SMD_PKG3
	select CPU_V6
14
	select MSM_PROC_COMM
15
	select HAS_MSM_DEBUG_UART_PHYS
16

17 18
config ARCH_MSM7X30
	bool "MSM7x30"
19
	select MACH_MSM7X30_SURF # if !
20 21 22 23
	select ARCH_MSM_SCORPION
	select MSM_SMD
	select MSM_VIC
	select CPU_V7
G
Gregory Bean 已提交
24
	select MSM_GPIOMUX
25
	select MSM_PROC_COMM
26
	select HAS_MSM_DEBUG_UART_PHYS
27

D
Daniel Walker 已提交
28 29
config ARCH_QSD8X50
	bool "QSD8X50"
30
	select MACH_QSD8X50_SURF if !MACH_QSD8X50A_ST1_5
D
Daniel Walker 已提交
31 32 33 34
	select ARCH_MSM_SCORPION
	select MSM_SMD
	select MSM_VIC
	select CPU_V7
G
Gregory Bean 已提交
35
	select MSM_GPIOMUX
36
	select MSM_PROC_COMM
37 38
	select HAS_MSM_DEBUG_UART_PHYS

39 40
config ARCH_MSM8X60
	bool "MSM8X60"
41 42
	select MACH_MSM8X60_SURF if (!MACH_MSM8X60_RUMI3 && !MACH_MSM8X60_SIM \
				  && !MACH_MSM8X60_FFA)
J
Jeff Ohlstein 已提交
43
	select ARCH_MSM_SCORPIONMP
44 45 46 47
	select ARM_GIC
	select CPU_V7
	select MSM_V2_TLMM
	select MSM_GPIOMUX
48
	select MSM_SCM if SMP
49

50 51 52
config ARCH_MSM8960
	bool "MSM8960"
	select ARCH_MSM_SCORPIONMP
53
	select MACH_MSM8960_SIM if (!MACH_MSM8960_RUMI3)
54 55 56 57 58 59
	select ARM_GIC
	select CPU_V7
	select MSM_V2_TLMM
	select MSM_GPIOMUX
	select MSM_SCM if SMP

60 61
endchoice

D
Daniel Walker 已提交
62 63
config MSM_SOC_REV_A
	bool
64 65
config  ARCH_MSM_SCORPIONMP
	bool
D
Daniel Walker 已提交
66 67 68 69

config  ARCH_MSM_ARM11
	bool
config  ARCH_MSM_SCORPION
70 71
	bool

72 73 74
config HAS_MSM_DEBUG_UART_PHYS
	bool

75 76
config  MSM_VIC
	bool
77

D
Daniel Walker 已提交
78 79 80
menu "Qualcomm MSM Board Type"

config MACH_HALIBUT
81
	depends on ARCH_MSM
D
Daniel Walker 已提交
82 83 84 85 86 87 88 89 90 91 92 93
	depends on ARCH_MSM7X00A
	bool "Halibut Board (QCT SURF7201A)"
	help
	  Support for the Qualcomm SURF7201A eval board.

config MACH_TROUT
	depends on ARCH_MSM
	depends on ARCH_MSM7X00A
	bool "HTC Dream (aka trout)"
	help
	  Support for the HTC Dream, T-Mobile G1, Android ADP1 devices.

94 95 96 97 98 99
config MACH_MSM7X30_SURF
	depends on ARCH_MSM7X30
	bool "MSM7x30 SURF"
	help
	  Support for the Qualcomm MSM7x30 SURF eval board.

D
Daniel Walker 已提交
100 101 102 103 104 105 106 107 108 109 110 111 112
config MACH_QSD8X50_SURF
	depends on ARCH_QSD8X50
	bool "QSD8x50 SURF"
	help
	  Support for the Qualcomm QSD8x50 SURF eval board.

config MACH_QSD8X50A_ST1_5
	depends on ARCH_QSD8X50
	select MSM_SOC_REV_A
	bool "QSD8x50A ST1.5"
	help
	  Support for the Qualcomm ST1.5.

S
Steve Muckle 已提交
113 114 115 116 117 118
config MACH_MSM8X60_RUMI3
	depends on ARCH_MSM8X60
	bool "MSM8x60 RUMI3"
	help
	  Support for the Qualcomm MSM8x60 RUMI3 emulator.

S
Steve Muckle 已提交
119 120 121 122 123 124
config MACH_MSM8X60_SURF
	depends on ARCH_MSM8X60
	bool "MSM8x60 SURF"
	help
	  Support for the Qualcomm MSM8x60 SURF eval board.

125 126 127 128 129 130
config MACH_MSM8X60_SIM
	depends on ARCH_MSM8X60
	bool "MSM8x60 Simulator"
	help
	  Support for the Qualcomm MSM8x60 simulator.

G
Gregory Bean 已提交
131 132 133 134 135 136
config MACH_MSM8X60_FFA
	depends on ARCH_MSM8X60
	bool "MSM8x60 FFA"
	help
	  Support for the Qualcomm MSM8x60 FFA eval board.

137 138 139 140 141 142
config MACH_MSM8960_SIM
	depends on ARCH_MSM8960
	bool "MSM8960 Simulator"
	help
	  Support for the Qualcomm MSM8960 simulator.

143 144 145 146 147 148
config MACH_MSM8960_RUMI3
	depends on ARCH_MSM8960
	bool "MSM8960 RUMI3"
	help
	  Support for the Qualcomm MSM8960 RUMI3 emulator.

D
Daniel Walker 已提交
149
endmenu
150

151 152 153 154 155 156 157 158 159 160 161 162
config MSM_IOMMU
	bool "MSM IOMMU Support"
	depends on ARCH_MSM8X60
	select IOMMU_API
	default n
	help
	  Support for the IOMMUs found on certain Qualcomm SOCs.
	  These IOMMUs allow virtualization of the address space used by most
	  cores within the multimedia subsystem.

	  If unsure, say N here.

163 164 165 166
config IOMMU_PGTABLES_L2
	def_bool y
	depends on ARCH_MSM8X60 && MMU && SMP && CPU_DCACHE_DISABLE=n

167 168 169 170 171 172
config MSM_DEBUG_UART
	int
	default 1 if MSM_DEBUG_UART1
	default 2 if MSM_DEBUG_UART2
	default 3 if MSM_DEBUG_UART3

173
if HAS_MSM_DEBUG_UART_PHYS
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
choice
	prompt "Debug UART"

	default MSM_DEBUG_UART_NONE

	config MSM_DEBUG_UART_NONE
		bool "None"

	config MSM_DEBUG_UART1
		bool "UART1"

	config MSM_DEBUG_UART2
		bool "UART2"

	config MSM_DEBUG_UART3
		bool "UART3"
endchoice
191
endif
192

193 194 195
config MSM_SMD_PKG3
	bool

196 197 198
config MSM_PROC_COMM
	bool

199
config MSM_SMD
200
	bool
201

G
Gregory Bean 已提交
202 203 204
config MSM_GPIOMUX
	bool

205 206
config MSM_V2_TLMM
	bool
207 208 209

config IOMMU_API
	bool
210 211 212

config MSM_SCM
	bool
213
endif