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