diff options
Diffstat (limited to 'arch/arm/mach-u300/Kconfig')
| -rw-r--r-- | arch/arm/mach-u300/Kconfig | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/arch/arm/mach-u300/Kconfig b/arch/arm/mach-u300/Kconfig new file mode 100644 index 000000000000..337b9aabce49 --- /dev/null +++ b/arch/arm/mach-u300/Kconfig | |||
| @@ -0,0 +1,105 @@ | |||
| 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 | |||
| 10 | comment "ST-Ericsson U300/U330/U335/U365 Feature Selections" | ||
| 11 | |||
| 12 | choice | ||
| 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 | |||
| 20 | config 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 | |||
| 28 | config 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 | |||
| 35 | config 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 | |||
| 42 | config 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 | |||
| 49 | endchoice | ||
| 50 | |||
| 51 | choice | ||
| 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 | |||
| 58 | config MACH_U300_SINGLE_RAM | ||
| 59 | bool "Single RAM" | ||
| 60 | help | ||
| 61 | Select this if you want support for Single RAM phones. | ||
| 62 | |||
| 63 | config 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 memorys on different EMIFs. | ||
| 68 | endchoice | ||
| 69 | |||
| 70 | config U300_DEBUG | ||
| 71 | bool "Debug support for U300" | ||
| 72 | depends on PM | ||
| 73 | help | ||
| 74 | Debug support for U300 in sysfs, procfs etc. | ||
| 75 | |||
| 76 | config 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 | |||
| 84 | comment "All the settings below must match the bootloader's settings" | ||
| 85 | |||
| 86 | config MACH_U300_ACCESS_MEM_SIZE | ||
| 87 | int "Access CPU memory allocation" | ||
| 88 | range 7 25 | ||
| 89 | depends on MACH_U300_SINGLE_RAM | ||
| 90 | default 13 | ||
| 91 | help | ||
| 92 | How much memory in MiB that the Access side CPU has allocated | ||
| 93 | |||
| 94 | config MACH_U300_2MB_ALIGNMENT_FIX | ||
| 95 | bool "2MiB alignment fix" | ||
| 96 | depends on MACH_U300_SINGLE_RAM | ||
| 97 | default y | ||
| 98 | help | ||
| 99 | If yes and the Access side CPU has allocated an odd size in | ||
| 100 | MiB, this fix gives you one MiB extra that would otherwise be | ||
| 101 | lost due to Linux 2 MiB alignment policy. | ||
| 102 | |||
| 103 | endmenu | ||
| 104 | |||
| 105 | endif | ||
