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