1if ARCH_U300
2
3menu "ST-Ericsson AB U300/U330/U335/U365 Platform"
4
5comment "ST-Ericsson Mobile Platform Products"
6
7config MACH_U300
8	bool "U300"
9
10comment "ST-Ericsson U300/U330/U335/U365 Feature Selections"
11
12choice
13	prompt "U300/U330/U335/U365 system type"
14	default MACH_U300_BS2X
15	---help---
16	You need to select the target system, i.e. the
17	U300/U330/U335/U365 board that you want to compile your kernel
18	for.
19
20config MACH_U300_BS2X
21	bool "S26/S26/B25/B26 Test Products"
22	depends on MACH_U300
23	help
24		Select this if you're developing on the
25		S26/S25 test products. (Also works on
26		B26/B25 big boards.)
27
28config MACH_U300_BS330
29	bool "S330/B330 Test Products"
30	depends on MACH_U300
31	help
32		Select this if you're developing on the
33		S330/B330 test products.
34
35config MACH_U300_BS335
36	bool "S335/B335 Test Products"
37	depends on MACH_U300
38	help
39		Select this if you're developing on the
40		S335/B335 test products.
41
42config MACH_U300_BS365
43	bool "S365/B365 Test Products"
44	depends on MACH_U300
45	help
46		Select this if you're developing on the
47		S365/B365 test products.
48
49endchoice
50
51choice
52	prompt "Memory configuration"
53	default MACH_U300_SINGLE_RAM
54	---help---
55	You have to config the kernel according to the physical memory
56	configuration.
57
58config MACH_U300_SINGLE_RAM
59	bool "Single RAM"
60	help
61		Select this if you want support for Single RAM phones.
62
63config MACH_U300_DUAL_RAM
64	bool "Dual RAM"
65	help
66		Select this if you want support for Dual RAM phones.
67		This is two RAM memories on different EMIFs.
68endchoice
69
70config U300_DEBUG
71	bool "Debug support for U300"
72	depends on PM
73	help
74		Debug support for U300 in sysfs, procfs etc.
75
76config MACH_U300_SEMI_IS_SHARED
77	bool "The SEMI is used by both the access and application side"
78	depends on MACH_U300
79	help
80		This makes it possible to use the SEMI (Shared External
81		Memory Interface) from both from access and application
82		side.
83
84config MACH_U300_SPIDUMMY
85	bool "SSP/SPI dummy chip"
86	select SPI
87	select SPI_MASTER
88	select SPI_PL022
89	help
90		This creates a small kernel module that creates a dummy
91		SPI device to be used for loopback tests. Regularly used
92		to test reference designs. If you're not testing SPI,
93		you don't need it. Selecting this will activate the
94		SPI framework and ARM PL022 support.
95
96comment "All the settings below must match the bootloader's settings"
97
98config MACH_U300_ACCESS_MEM_SIZE
99       int "Access CPU memory allocation"
100       range 7 25
101       depends on MACH_U300_SINGLE_RAM
102       default 13
103       help
104		How much memory in MiB that the Access side CPU has allocated
105
106config MACH_U300_2MB_ALIGNMENT_FIX
107       bool "2MiB alignment fix"
108       depends on MACH_U300_SINGLE_RAM
109       default y
110       help
111		If yes and the Access side CPU has allocated an odd size in
112		MiB, this fix gives you one MiB extra that would otherwise be
113		lost due to Linux 2 MiB alignment policy.
114
115endmenu
116
117endif
118