ARM: 7083/1: rewrite U300 GPIO to use gpiolib
[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 GPIO_U300
10
11 comment "ST-Ericsson U300/U330/U335/U365 Feature Selections"
12
13 choice
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
21 config 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
29 config 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
36 config 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
43 config 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
50 endchoice
51
52 choice
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
59 config MACH_U300_SINGLE_RAM
60         bool "Single RAM"
61         help
62                 Select this if you want support for Single RAM phones.
63
64 config MACH_U300_DUAL_RAM
65         bool "Dual RAM"
66         help
67                 Select this if you want support for Dual RAM phones.
68                 This is two RAM memories on different EMIFs.
69 endchoice
70
71 config U300_DEBUG
72         bool "Debug support for U300"
73         depends on PM
74         help
75                 Debug support for U300 in sysfs, procfs etc.
76
77 config 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
85 config 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
97 comment "All the settings below must match the bootloader's settings"
98
99 config 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
107 config 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
116 endmenu
117
118 endif