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