diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/Kconfig')
| -rw-r--r-- | arch/arm/mach-s3c2410/Kconfig | 338 |
1 files changed, 65 insertions, 273 deletions
diff --git a/arch/arm/mach-s3c2410/Kconfig b/arch/arm/mach-s3c2410/Kconfig index eb4ec411312b..d4b013b283c3 100644 --- a/arch/arm/mach-s3c2410/Kconfig +++ b/arch/arm/mach-s3c2410/Kconfig | |||
| @@ -1,54 +1,51 @@ | |||
| 1 | if ARCH_S3C2410 | 1 | # arch/arm/mach-s3c2410/Kconfig |
| 2 | # | ||
| 3 | # Copyright 2007 Simtec Electronics | ||
| 4 | # | ||
| 5 | # Licensed under GPLv2 | ||
| 2 | 6 | ||
| 3 | menu "S3C24XX Implementations" | 7 | config CPU_S3C2410 |
| 8 | bool | ||
| 9 | depends on ARCH_S3C2410 | ||
| 10 | select S3C2410_CLOCK | ||
| 11 | select S3C2410_GPIO | ||
| 12 | select S3C2410_PM if PM | ||
| 13 | help | ||
| 14 | Support for S3C2410 and S3C2410A family from the S3C24XX line | ||
| 15 | of Samsung Mobile CPUs. | ||
| 4 | 16 | ||
| 5 | config MACH_AML_M5900 | 17 | config CPU_S3C2410_DMA |
| 6 | bool "AML M5900 Series" | 18 | bool |
| 7 | select CPU_S3C2410 | 19 | depends on S3C2410_DMA && (CPU_S3C2410 || CPU_S3C2442) |
| 8 | select PM_SIMTEC if PM | 20 | default y if CPU_S3C2410 || CPU_S3C2442 |
| 9 | help | 21 | help |
| 10 | Say Y here if you are using the American Microsystems M5900 Series | 22 | DMA device selection for S3C2410 and compatible CPUs |
| 11 | <http://www.amltd.com> | ||
| 12 | 23 | ||
| 13 | config MACH_ANUBIS | 24 | config S3C2410_PM |
| 14 | bool "Simtec Electronics ANUBIS" | 25 | bool |
| 15 | select CPU_S3C2440 | ||
| 16 | select PM_SIMTEC if PM | ||
| 17 | help | 26 | help |
| 18 | Say Y here if you are using the Simtec Electronics ANUBIS | 27 | Power Management code common to S3C2410 and better |
| 19 | development system | ||
| 20 | 28 | ||
| 21 | config MACH_OSIRIS | 29 | config S3C2410_GPIO |
| 22 | bool "Simtec IM2440D20 (OSIRIS) module" | 30 | bool |
| 23 | select CPU_S3C2440 | ||
| 24 | select PM_SIMTEC if PM | ||
| 25 | help | 31 | help |
| 26 | Say Y here if you are using the Simtec IM2440D20 module, also | 32 | GPIO code for S3C2410 and similar processors |
| 27 | known as the Osiris. | ||
| 28 | 33 | ||
| 29 | config ARCH_BAST | 34 | config S3C2410_CLOCK |
| 30 | bool "Simtec Electronics BAST (EB2410ITX)" | 35 | bool |
| 31 | select CPU_S3C2410 | ||
| 32 | select PM_SIMTEC if PM | ||
| 33 | select ISA | ||
| 34 | help | 36 | help |
| 35 | Say Y here if you are using the Simtec Electronics EB2410ITX | 37 | Clock code for the S3C2410, and similar processors |
| 36 | development board (also known as BAST) | ||
| 37 | 38 | ||
| 38 | Product page: <http://www.simtec.co.uk/products/EB2410ITX/>. | ||
| 39 | 39 | ||
| 40 | config BAST_PC104_IRQ | 40 | menu "S3C2410 Machines" |
| 41 | bool "BAST PC104 IRQ support" | ||
| 42 | depends on ARCH_BAST | ||
| 43 | default y | ||
| 44 | help | ||
| 45 | Say Y here to enable the PC104 IRQ routing on the | ||
| 46 | Simtec BAST (EB2410ITX) | ||
| 47 | 41 | ||
| 48 | config PM_H1940 | 42 | config ARCH_SMDK2410 |
| 49 | bool | 43 | bool "SMDK2410/A9M2410" |
| 44 | select CPU_S3C2410 | ||
| 45 | select MACH_SMDK | ||
| 50 | help | 46 | help |
| 51 | Internal node for H1940 and related PM | 47 | Say Y here if you are using the SMDK2410 or the derived module A9M2410 |
| 48 | <http://www.fsforth.de> | ||
| 52 | 49 | ||
| 53 | config ARCH_H1940 | 50 | config ARCH_H1940 |
| 54 | bool "IPAQ H1940" | 51 | bool "IPAQ H1940" |
| @@ -57,7 +54,10 @@ config ARCH_H1940 | |||
| 57 | help | 54 | help |
| 58 | Say Y here if you are using the HP IPAQ H1940 | 55 | Say Y here if you are using the HP IPAQ H1940 |
| 59 | 56 | ||
| 60 | <http://www.handhelds.org/projects/h1940.html>. | 57 | config PM_H1940 |
| 58 | bool | ||
| 59 | help | ||
| 60 | Internal node for H1940 and related PM | ||
| 61 | 61 | ||
| 62 | config MACH_N30 | 62 | config MACH_N30 |
| 63 | bool "Acer N30" | 63 | bool "Acer N30" |
| @@ -65,53 +65,36 @@ config MACH_N30 | |||
| 65 | help | 65 | help |
| 66 | Say Y here if you are using the Acer N30 | 66 | Say Y here if you are using the Acer N30 |
| 67 | 67 | ||
| 68 | <http://zoo.weinigel.se/n30>. | 68 | config ARCH_BAST |
| 69 | 69 | bool "Simtec Electronics BAST (EB2410ITX)" | |
| 70 | config MACH_SMDK | ||
| 71 | bool | ||
| 72 | help | ||
| 73 | Common machine code for SMDK2410 and SMDK2440 | ||
| 74 | |||
| 75 | config ARCH_SMDK2410 | ||
| 76 | bool "SMDK2410/A9M2410" | ||
| 77 | select CPU_S3C2410 | 70 | select CPU_S3C2410 |
| 78 | select MACH_SMDK | 71 | select PM_SIMTEC if PM |
| 72 | select ISA | ||
| 79 | help | 73 | help |
| 80 | Say Y here if you are using the SMDK2410 or the derived module A9M2410 | 74 | Say Y here if you are using the Simtec Electronics EB2410ITX |
| 81 | <http://www.fsforth.de> | 75 | development board (also known as BAST) |
| 82 | 76 | ||
| 83 | config ARCH_S3C2440 | 77 | config MACH_OTOM |
| 84 | bool "SMDK2440" | 78 | bool "NexVision OTOM Board" |
| 85 | select CPU_S3C2440 | 79 | select CPU_S3C2410 |
| 86 | select MACH_SMDK | ||
| 87 | help | 80 | help |
| 88 | Say Y here if you are using the SMDK2440. | 81 | Say Y here if you are using the Nex Vision OTOM board |
| 89 | |||
| 90 | config SMDK2440_CPU2440 | ||
| 91 | bool "SMDK2440 with S3C2440 CPU module" | ||
| 92 | depends on ARCH_S3C2440 | ||
| 93 | default y if ARCH_S3C2440 | ||
| 94 | select CPU_S3C2440 | ||
| 95 | |||
| 96 | config SMDK2440_CPU2442 | ||
| 97 | bool "SMDM2440 with S3C2442 CPU module" | ||
| 98 | depends on ARCH_S3C2440 | ||
| 99 | select CPU_S3C2442 | ||
| 100 | 82 | ||
| 101 | config MACH_S3C2413 | 83 | config MACH_AML_M5900 |
| 102 | bool | 84 | bool "AML M5900 Series" |
| 85 | select CPU_S3C2410 | ||
| 86 | select PM_SIMTEC if PM | ||
| 103 | help | 87 | help |
| 104 | Internal node for S3C2413 version of SMDK2413, so that | 88 | Say Y here if you are using the American Microsystems M5900 Series |
| 105 | machine_is_s3c2413() will work when MACH_SMDK2413 is | 89 | <http://www.amltd.com> |
| 106 | selected | ||
| 107 | 90 | ||
| 108 | config MACH_SMDK2413 | 91 | config BAST_PC104_IRQ |
| 109 | bool "SMDK2413" | 92 | bool "BAST PC104 IRQ support" |
| 110 | select CPU_S3C2412 | 93 | depends on ARCH_BAST |
| 111 | select MACH_S3C2413 | 94 | default y |
| 112 | select MACH_SMDK | ||
| 113 | help | 95 | help |
| 114 | Say Y here if you are using an SMDK2413 | 96 | Say Y here to enable the PC104 IRQ routing on the |
| 97 | Simtec BAST (EB2410ITX) | ||
| 115 | 98 | ||
| 116 | config MACH_VR1000 | 99 | config MACH_VR1000 |
| 117 | bool "Thorcom VR1000" | 100 | bool "Thorcom VR1000" |
| @@ -120,202 +103,11 @@ config MACH_VR1000 | |||
| 120 | help | 103 | help |
| 121 | Say Y here if you are using the Thorcom VR1000 board. | 104 | Say Y here if you are using the Thorcom VR1000 board. |
| 122 | 105 | ||
| 123 | This linux port is currently being maintained by Simtec, on behalf | 106 | config MACH_QT2410 |
| 124 | of Thorcom. Any queries, please contact Thorcom first. | 107 | bool "QT2410" |
| 125 | 108 | select CPU_S3C2410 | |
| 126 | config MACH_RX3715 | ||
| 127 | bool "HP iPAQ rx3715" | ||
| 128 | select CPU_S3C2440 | ||
| 129 | select PM_H1940 if PM | ||
| 130 | help | ||
| 131 | Say Y here if you are using the HP iPAQ rx3715. | ||
| 132 | |||
| 133 | See <http://www.handhelds.org/projects/rx3715.html> for more | ||
| 134 | information on this project | ||
| 135 | |||
| 136 | config MACH_OTOM | ||
| 137 | bool "NexVision OTOM Board" | ||
| 138 | select CPU_S3C2410 | ||
| 139 | help | ||
| 140 | Say Y here if you are using the Nex Vision OTOM board | ||
| 141 | |||
| 142 | config MACH_NEXCODER_2440 | ||
| 143 | bool "NexVision NEXCODER 2440 Light Board" | ||
| 144 | select CPU_S3C2440 | ||
| 145 | help | ||
| 146 | Say Y here if you are using the Nex Vision NEXCODER 2440 Light Board | ||
| 147 | |||
| 148 | config MACH_VSTMS | ||
| 149 | bool "VMSTMS" | ||
| 150 | select CPU_S3C2412 | ||
| 151 | help | 109 | help |
| 152 | Say Y here if you are using an VSTMS board | 110 | Say Y here if you are using the Armzone QT2410 |
| 153 | 111 | ||
| 154 | endmenu | 112 | endmenu |
| 155 | 113 | ||
| 156 | config S3C2410_CLOCK | ||
| 157 | bool | ||
| 158 | help | ||
| 159 | Clock code for the S3C2410, and similar processors | ||
| 160 | |||
| 161 | config S3C2410_PM | ||
| 162 | bool | ||
| 163 | help | ||
| 164 | Power Management code common to S3C2410 and better | ||
| 165 | |||
| 166 | config CPU_S3C2410_DMA | ||
| 167 | bool | ||
| 168 | depends on S3C2410_DMA && (CPU_S3C2410 || CPU_S3C2442) | ||
| 169 | default y if CPU_S3C2410 || CPU_S3C2442 | ||
| 170 | help | ||
| 171 | DMA device selection for S3C2410 and compatible CPUs | ||
| 172 | |||
| 173 | config CPU_S3C2410 | ||
| 174 | bool | ||
| 175 | depends on ARCH_S3C2410 | ||
| 176 | select S3C2410_CLOCK | ||
| 177 | select S3C2410_PM if PM | ||
| 178 | help | ||
| 179 | Support for S3C2410 and S3C2410A family from the S3C24XX line | ||
| 180 | of Samsung Mobile CPUs. | ||
| 181 | |||
| 182 | # internal node to signify if we are only dealing with an S3C2412 | ||
| 183 | |||
| 184 | config CPU_S3C2412_ONLY | ||
| 185 | bool | ||
| 186 | depends on ARCH_S3C2410 && !CPU_S3C2400 && !CPU_S3C2410 && \ | ||
| 187 | !CPU_S3C2440 && !CPU_S3C2442 && CPU_S3C2412 | ||
| 188 | default y if CPU_S3C2412 | ||
| 189 | |||
| 190 | config S3C2412_PM | ||
| 191 | bool | ||
| 192 | help | ||
| 193 | Internal config node to apply S3C2412 power management | ||
| 194 | |||
| 195 | config CPU_S3C2412 | ||
| 196 | bool | ||
| 197 | depends on ARCH_S3C2410 | ||
| 198 | select S3C2412_PM if PM | ||
| 199 | help | ||
| 200 | Support for the S3C2412 and S3C2413 SoCs from the S3C24XX line | ||
| 201 | |||
| 202 | config CPU_S3C244X | ||
| 203 | bool | ||
| 204 | depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442) | ||
| 205 | help | ||
| 206 | Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems. | ||
| 207 | |||
| 208 | config CPU_S3C2440 | ||
| 209 | bool | ||
| 210 | depends on ARCH_S3C2410 | ||
| 211 | select S3C2410_CLOCK | ||
| 212 | select S3C2410_PM if PM | ||
| 213 | select CPU_S3C244X | ||
| 214 | help | ||
| 215 | Support for S3C2440 Samsung Mobile CPU based systems. | ||
| 216 | |||
| 217 | config CPU_S3C2442 | ||
| 218 | bool | ||
| 219 | depends on ARCH_S3C2420 | ||
| 220 | select S3C2410_CLOCK | ||
| 221 | select S3C2410_PM if PM | ||
| 222 | select CPU_S3C244X | ||
| 223 | help | ||
| 224 | Support for S3C2442 Samsung Mobile CPU based systems. | ||
| 225 | |||
| 226 | comment "S3C2410 Boot" | ||
| 227 | |||
| 228 | config S3C2410_BOOT_WATCHDOG | ||
| 229 | bool "S3C2410 Initialisation watchdog" | ||
| 230 | depends on ARCH_S3C2410 && S3C2410_WATCHDOG | ||
| 231 | help | ||
| 232 | Say y to enable the watchdog during the kernel decompression | ||
| 233 | stage. If the kernel fails to uncompress, then the watchdog | ||
| 234 | will trigger a reset and the system should restart. | ||
| 235 | |||
| 236 | Although this uses the same hardware unit as the kernel watchdog | ||
| 237 | driver, it is not a replacement for it. If you use this option, | ||
| 238 | you will have to use the watchdg driver to either stop the timeout | ||
| 239 | or restart it. If you do not, then your kernel will reboot after | ||
| 240 | startup. | ||
| 241 | |||
| 242 | The driver uses a fixed timeout value, so the exact time till the | ||
| 243 | system resets depends on the value of PCLK. The timeout on an | ||
| 244 | 200MHz s3c2410 should be about 30 seconds. | ||
| 245 | |||
| 246 | config S3C2410_BOOT_ERROR_RESET | ||
| 247 | bool "S3C2410 Reboot on decompression error" | ||
| 248 | depends on ARCH_S3C2410 | ||
| 249 | help | ||
| 250 | Say y here to use the watchdog to reset the system if the | ||
| 251 | kernel decompressor detects an error during decompression. | ||
| 252 | |||
| 253 | |||
| 254 | comment "S3C2410 Setup" | ||
| 255 | |||
| 256 | config S3C2410_DMA | ||
| 257 | bool "S3C2410 DMA support" | ||
| 258 | depends on ARCH_S3C2410 | ||
| 259 | help | ||
| 260 | S3C2410 DMA support. This is needed for drivers like sound which | ||
| 261 | use the S3C2410's DMA system to move data to and from the | ||
| 262 | peripheral blocks. | ||
| 263 | |||
| 264 | config S3C2410_DMA_DEBUG | ||
| 265 | bool "S3C2410 DMA support debug" | ||
| 266 | depends on ARCH_S3C2410 && S3C2410_DMA | ||
| 267 | help | ||
| 268 | Enable debugging output for the DMA code. This option sends info | ||
| 269 | to the kernel log, at priority KERN_DEBUG. | ||
| 270 | |||
| 271 | Note, it is easy to create and fill the log buffer in a small | ||
| 272 | amount of time, as well as using an significant percentage of | ||
| 273 | the CPU time doing so. | ||
| 274 | |||
| 275 | |||
| 276 | config S3C2410_PM_DEBUG | ||
| 277 | bool "S3C2410 PM Suspend debug" | ||
| 278 | depends on ARCH_S3C2410 && PM | ||
| 279 | help | ||
| 280 | Say Y here if you want verbose debugging from the PM Suspend and | ||
| 281 | Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt> | ||
| 282 | for more information. | ||
| 283 | |||
| 284 | config S3C2410_PM_CHECK | ||
| 285 | bool "S3C2410 PM Suspend Memory CRC" | ||
| 286 | depends on ARCH_S3C2410 && PM && CRC32 | ||
| 287 | help | ||
| 288 | Enable the PM code's memory area checksum over sleep. This option | ||
| 289 | will generate CRCs of all blocks of memory, and store them before | ||
| 290 | going to sleep. The blocks are then checked on resume for any | ||
| 291 | errors. | ||
| 292 | |||
| 293 | config S3C2410_PM_CHECK_CHUNKSIZE | ||
| 294 | int "S3C2410 PM Suspend CRC Chunksize (KiB)" | ||
| 295 | depends on ARCH_S3C2410 && PM && S3C2410_PM_CHECK | ||
| 296 | default 64 | ||
| 297 | help | ||
| 298 | Set the chunksize in Kilobytes of the CRC for checking memory | ||
| 299 | corruption over suspend and resume. A smaller value will mean that | ||
| 300 | the CRC data block will take more memory, but wil identify any | ||
| 301 | faults with better precision. | ||
| 302 | |||
| 303 | config PM_SIMTEC | ||
| 304 | bool | ||
| 305 | help | ||
| 306 | Common power management code for systems that are | ||
| 307 | compatible with the Simtec style of power management | ||
| 308 | |||
| 309 | config S3C2410_LOWLEVEL_UART_PORT | ||
| 310 | int "S3C2410 UART to use for low-level messages" | ||
| 311 | default 0 | ||
| 312 | help | ||
| 313 | Choice of which UART port to use for the low-level messages, | ||
| 314 | such as the `Uncompressing...` at start time. The value of | ||
| 315 | this configuration should be between zero and two. The port | ||
| 316 | must have been initialised by the boot-loader before use. | ||
| 317 | |||
| 318 | Note, this does not affect the port used by the debug messages, | ||
| 319 | which is a separate configuration. | ||
| 320 | |||
| 321 | endif | ||
