Uwe Hermann | 661e380 | 2008-03-21 18:37:23 +0000 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the libpayload project. |
| 3 | ## |
| 4 | ## Copyright (C) 2008 Advanced Micro Devices, Inc. |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 5 | ## Copyright (C) 2008 coresystems GmbH |
Uwe Hermann | 661e380 | 2008-03-21 18:37:23 +0000 | [diff] [blame] | 6 | ## |
| 7 | ## Redistribution and use in source and binary forms, with or without |
| 8 | ## modification, are permitted provided that the following conditions |
| 9 | ## are met: |
| 10 | ## 1. Redistributions of source code must retain the above copyright |
| 11 | ## notice, this list of conditions and the following disclaimer. |
| 12 | ## 2. Redistributions in binary form must reproduce the above copyright |
| 13 | ## notice, this list of conditions and the following disclaimer in the |
| 14 | ## documentation and/or other materials provided with the distribution. |
| 15 | ## 3. The name of the author may not be used to endorse or promote products |
| 16 | ## derived from this software without specific prior written permission. |
| 17 | ## |
| 18 | ## THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND |
| 19 | ## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 20 | ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 21 | ## ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE |
| 22 | ## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 23 | ## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 24 | ## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 25 | ## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 26 | ## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 27 | ## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 28 | ## SUCH DAMAGE. |
| 29 | ## |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 30 | |
| 31 | mainmenu "Libpayload Configuration" |
| 32 | |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 33 | menu "Generic Options" |
| 34 | |
Julius Werner | 22adcd6 | 2014-06-11 14:16:35 -0700 | [diff] [blame] | 35 | config GPL |
| 36 | bool "GPLv2-licensed Options" |
| 37 | default n |
| 38 | help |
| 39 | Prompt for options that will build code licensed under the GNU General |
| 40 | Public License (version 2). This will subject the whole payload to the |
| 41 | terms of this license (including its provision to release all sources, |
| 42 | please see the LICENSE_GPL file for details). |
| 43 | |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 44 | config EXPERIMENTAL |
| 45 | bool "Experimental Options" |
| 46 | default n |
| 47 | help |
| 48 | Prompt for experimental functionality. Attention: This is not likely |
| 49 | to work without problems |
| 50 | |
| 51 | config OBSOLETE |
| 52 | bool "Obsolete Options" |
| 53 | default n |
| 54 | help |
| 55 | Prompt for obsolete options. These options are for old, unsupported |
| 56 | features and are likely to go away in the future. |
| 57 | |
| 58 | config DEVELOPER |
| 59 | bool "Developer Options" |
| 60 | default n |
| 61 | help |
| 62 | Prompt for developer options. These options are only interesting for |
| 63 | libpayload developers. |
| 64 | |
Julius Werner | 50a8174 | 2014-05-15 11:57:38 -0700 | [diff] [blame] | 65 | config REMOTEGDB |
| 66 | bool "Remote GDB stub" |
| 67 | default n |
| 68 | depends on GPL |
| 69 | help |
| 70 | Enable Remote GDB debugging support. |
| 71 | |
Gabe Black | d3890cc | 2012-03-11 01:57:53 -0800 | [diff] [blame] | 72 | config CHROMEOS |
| 73 | bool "ChromeOS specific features" |
| 74 | default n |
| 75 | help |
| 76 | Enable ChromeOS specific features. |
| 77 | |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 78 | endmenu |
| 79 | |
Jordan Crouse | 20c9cf1 | 2008-10-20 16:51:43 +0000 | [diff] [blame] | 80 | menu "Architecture Options" |
| 81 | |
Patrick Georgi | d385ed2 | 2009-05-21 10:02:52 +0000 | [diff] [blame] | 82 | choice |
| 83 | prompt "Target Architecture" |
David Hendricks | 4b6be98 | 2012-11-30 13:56:31 -0800 | [diff] [blame] | 84 | default ARCH_X86 |
Patrick Georgi | d385ed2 | 2009-05-21 10:02:52 +0000 | [diff] [blame] | 85 | |
Gabe Black | 51edd54 | 2013-09-30 23:00:33 -0700 | [diff] [blame] | 86 | config ARCH_ARM |
| 87 | bool "ARM" |
Stefan Reinauer | 8af0d03 | 2012-12-14 13:05:21 -0800 | [diff] [blame] | 88 | help |
Gabe Black | 51edd54 | 2013-09-30 23:00:33 -0700 | [diff] [blame] | 89 | Support the ARM architecture |
Stefan Reinauer | 8af0d03 | 2012-12-14 13:05:21 -0800 | [diff] [blame] | 90 | |
David Hendricks | 4b6be98 | 2012-11-30 13:56:31 -0800 | [diff] [blame] | 91 | config ARCH_X86 |
Patrick Georgi | d385ed2 | 2009-05-21 10:02:52 +0000 | [diff] [blame] | 92 | bool "x86" |
| 93 | help |
| 94 | Support the x86 architecture |
| 95 | |
Furquan Shaikh | 8c8c377 | 2014-02-19 11:35:30 -0800 | [diff] [blame] | 96 | config ARCH_ARM64 |
| 97 | bool "ARM64" |
| 98 | help |
| 99 | Support the ARM64 architecture |
| 100 | |
Patrick Georgi | d385ed2 | 2009-05-21 10:02:52 +0000 | [diff] [blame] | 101 | endchoice |
| 102 | |
Patrick Georgi | 7f96583 | 2011-04-21 18:57:16 +0200 | [diff] [blame] | 103 | config MEMMAP_RAM_ONLY |
| 104 | bool "Only consider RAM entries in memory map for further processing" |
| 105 | default n |
| 106 | |
Jordan Crouse | 20c9cf1 | 2008-10-20 16:51:43 +0000 | [diff] [blame] | 107 | config MULTIBOOT |
| 108 | bool "Multiboot header support" |
David Hendricks | 4b6be98 | 2012-11-30 13:56:31 -0800 | [diff] [blame] | 109 | depends on ARCH_X86 |
Jordan Crouse | 20c9cf1 | 2008-10-20 16:51:43 +0000 | [diff] [blame] | 110 | default y |
| 111 | |
| 112 | endmenu |
| 113 | |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 114 | menu "Standard Libraries" |
| 115 | |
| 116 | config LIBC |
| 117 | bool "Enable C library support" |
| 118 | default y |
| 119 | |
Patrick Georgi | 3b77b72 | 2011-07-07 15:41:53 +0200 | [diff] [blame] | 120 | config CURSES |
| 121 | bool "Build a curses library" |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 122 | default y |
| 123 | |
Patrick Georgi | 3b77b72 | 2011-07-07 15:41:53 +0200 | [diff] [blame] | 124 | choice |
| 125 | prompt "Curses implementation" |
| 126 | default PDCURSES |
| 127 | depends on CURSES |
| 128 | |
| 129 | config TINYCURSES |
| 130 | bool "Tinycurses" |
| 131 | help |
| 132 | Tinycurses was the first curses implementation for libpayload. |
| 133 | It features low memory consumption, static allocation of larger |
| 134 | data structures (so few or no memory allocation calls) and a |
| 135 | reduced feature set. |
| 136 | |
| 137 | config PDCURSES |
| 138 | bool "PDCurses" |
Patrick Georgi | 3b77b72 | 2011-07-07 15:41:53 +0200 | [diff] [blame] | 139 | help |
| 140 | libpayload's PDCurses port provides a full features curses |
| 141 | implementation, including libpanel, libmenu and libform (which |
| 142 | are taken from ncurses). |
| 143 | It requires more system resources, in particularily heap memory. |
| 144 | |
| 145 | endchoice |
| 146 | |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 147 | config LAR |
| 148 | bool "LAR support" |
| 149 | default n |
| 150 | depends on OBSOLETE |
| 151 | help |
| 152 | LAR is the archive format of (obsolete) coreboot v3 |
| 153 | |
| 154 | config CBFS |
| 155 | bool "CBFS support" |
| 156 | default y |
| 157 | help |
Patrick Georgi | 6de1ee4a | 2011-07-21 15:43:14 +0200 | [diff] [blame] | 158 | CBFS is the archive format of coreboot |
| 159 | |
| 160 | config LZMA |
| 161 | bool "LZMA decoder" |
| 162 | default y |
| 163 | help |
| 164 | LZMA decoder implementation, usable eg. by CBFS, |
| 165 | but also externally. |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 166 | endmenu |
| 167 | |
| 168 | menu "Console Options" |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 169 | |
Gabe Black | 4bb0731 | 2012-10-05 11:43:39 -0700 | [diff] [blame] | 170 | config SKIP_CONSOLE_INIT |
| 171 | bool "Skip initializing the consoles at startup" |
| 172 | default n |
| 173 | help |
| 174 | Normally, libpayload will initialize console input/output on startup |
| 175 | before the payload itself gets control. This option disables that |
| 176 | behavior and leaves console initialization up to the payload. |
| 177 | |
Gabe Black | a54b6a6 | 2012-09-29 00:21:27 -0700 | [diff] [blame] | 178 | config CBMEM_CONSOLE |
| 179 | bool "Send output to the in memory CBMEM console" |
| 180 | default y |
| 181 | |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 182 | config SERIAL_CONSOLE |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 183 | bool "See output on the serial port console" |
| 184 | default y |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 185 | |
Gabe Black | 9135cb4 | 2013-09-26 16:13:08 -0700 | [diff] [blame] | 186 | config 8250_SERIAL_CONSOLE |
| 187 | bool "8250, 16450, 16550, 16550A compatible serial port driver" |
| 188 | depends on SERIAL_CONSOLE |
| 189 | default y if ARCH_X86 |
| 190 | default n if !ARCH_X86 |
Ronald G. Minnich | 7b69454 | 2013-02-15 08:13:29 -0800 | [diff] [blame] | 191 | |
Gabe Black | a6aecc4 | 2014-04-10 01:07:28 -0700 | [diff] [blame] | 192 | config S5P_SERIAL_CONSOLE |
| 193 | bool "Exynos SOC, S5P compatible serial port driver" |
| 194 | depends on SERIAL_CONSOLE |
| 195 | default n |
| 196 | |
| 197 | config TEGRA_SERIAL_CONSOLE |
| 198 | bool "Tegra SOC compatible serial port driver" |
| 199 | depends on SERIAL_CONSOLE |
| 200 | default n |
| 201 | |
huang lin | ab69984 | 2014-06-20 11:34:46 +0800 | [diff] [blame] | 202 | config RK_SERIAL_CONSOLE |
| 203 | bool "Rockchip SOC serial port driver" |
| 204 | depends on SERIAL_CONSOLE |
| 205 | default n |
| 206 | |
Vadim Bendebury | 897123a | 2014-05-27 18:28:59 -0700 | [diff] [blame] | 207 | config IPQ806X_SERIAL_CONSOLE |
| 208 | bool "IPQ806x SOC compatible serial port driver" |
| 209 | depends on SERIAL_CONSOLE |
| 210 | default n |
| 211 | |
Marcelo Povoa | 558e9b5 | 2014-02-18 14:17:38 -0800 | [diff] [blame] | 212 | config PL011_SERIAL_CONSOLE |
| 213 | bool "PL011 compatible serial port driver" |
| 214 | depends on 8250_SERIAL_CONSOLE |
| 215 | default n |
| 216 | |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 217 | config SERIAL_IOBASE |
Gabe Black | 9135cb4 | 2013-09-26 16:13:08 -0700 | [diff] [blame] | 218 | ## This default is currently not used on non-x86 systems. |
| 219 | hex "Default I/O base for the serial port (default 0x3f8)" |
| 220 | depends on SERIAL_CONSOLE && ARCH_X86 |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 221 | default 0x3f8 |
| 222 | |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 223 | config SERIAL_SET_SPEED |
| 224 | bool "Override the serial console baud rate" |
| 225 | default n |
Uwe Hermann | fad8c2b | 2008-04-11 18:01:50 +0000 | [diff] [blame] | 226 | depends on SERIAL_CONSOLE |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 227 | |
| 228 | config SERIAL_BAUD_RATE |
| 229 | int "Serial console baud rate (default 115200)" |
Uwe Hermann | fad8c2b | 2008-04-11 18:01:50 +0000 | [diff] [blame] | 230 | depends on SERIAL_SET_SPEED |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 231 | default 115200 |
| 232 | |
Ulf Jordan | 2aea11f | 2008-08-18 19:29:41 +0000 | [diff] [blame] | 233 | config SERIAL_ACS_FALLBACK |
| 234 | bool "Use plain ASCII characters for ACS" |
| 235 | default n |
| 236 | depends on SERIAL_CONSOLE |
| 237 | help |
| 238 | The alternate character set (ACS) is used for drawing lines and |
| 239 | displaying a couple of other special graphics characters. The |
| 240 | ACS characters generally look good on screen, but can be difficult |
| 241 | to cut and paste from a terminal window to a text editor. |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 242 | |
Ulf Jordan | 2aea11f | 2008-08-18 19:29:41 +0000 | [diff] [blame] | 243 | Say 'y' here if you want to always use plain ASCII characters to |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 244 | approximate the appearance of ACS characters on the serial port |
Ulf Jordan | 2aea11f | 2008-08-18 19:29:41 +0000 | [diff] [blame] | 245 | console. |
| 246 | |
Jordan Crouse | 30939bd | 2008-04-10 22:49:02 +0000 | [diff] [blame] | 247 | config VIDEO_CONSOLE |
| 248 | bool "See output on a video console" |
| 249 | default y |
| 250 | |
| 251 | config VGA_VIDEO_CONSOLE |
| 252 | bool "VGA video console driver" |
Stefan Reinauer | 8af0d03 | 2012-12-14 13:05:21 -0800 | [diff] [blame] | 253 | depends on ARCH_X86 && VIDEO_CONSOLE |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 254 | default y |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 255 | |
Peter Stuge | 4b1971c | 2008-10-08 14:47:41 +0000 | [diff] [blame] | 256 | config GEODELX_VIDEO_CONSOLE |
| 257 | bool "Geode LX video console driver" |
Stefan Reinauer | 8af0d03 | 2012-12-14 13:05:21 -0800 | [diff] [blame] | 258 | depends on ARCH_X86 && VIDEO_CONSOLE |
Jordan Crouse | 5431553 | 2008-04-11 15:48:21 +0000 | [diff] [blame] | 259 | default n |
| 260 | |
Stefan Reinauer | b700254 | 2010-03-25 18:56:26 +0000 | [diff] [blame] | 261 | config COREBOOT_VIDEO_CONSOLE |
| 262 | bool "coreboot video console driver" |
| 263 | depends on VIDEO_CONSOLE && !GEODELX_VIDEO_CONSOLE |
| 264 | default n |
| 265 | help |
| 266 | Say Y here if coreboot switched to a graphics mode and |
| 267 | your payload wants to use it. |
| 268 | |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 269 | config PC_KEYBOARD |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 270 | bool "Allow input from a PC keyboard" |
Marc Jones | 019bacb4 | 2014-12-23 15:22:30 -0700 | [diff] [blame] | 271 | default y if ARCH_X86 # uses IO |
| 272 | default n |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 273 | |
Stefan Reinauer | d84ef1e | 2008-09-26 18:37:26 +0000 | [diff] [blame] | 274 | config PC_KEYBOARD_LAYOUT_US |
| 275 | bool "English (US) keyboard layout" |
| 276 | depends on PC_KEYBOARD |
| 277 | default y |
| 278 | |
| 279 | config PC_KEYBOARD_LAYOUT_DE |
| 280 | bool "German keyboard layout" |
| 281 | depends on PC_KEYBOARD |
| 282 | default n |
| 283 | |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 284 | endmenu |
| 285 | |
| 286 | menu "Drivers" |
| 287 | |
| 288 | config PCI |
| 289 | bool "Support for PCI devices" |
Stefan Reinauer | 8af0d03 | 2012-12-14 13:05:21 -0800 | [diff] [blame] | 290 | depends on ARCH_X86 # for now |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 291 | default y |
| 292 | |
Uwe Hermann | c16d24e | 2008-03-31 15:17:39 +0000 | [diff] [blame] | 293 | config NVRAM |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 294 | bool "Support for reading/writing NVRAM bytes" |
Stefan Reinauer | 8af0d03 | 2012-12-14 13:05:21 -0800 | [diff] [blame] | 295 | depends on ARCH_X86 # for now |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 296 | default y |
Uwe Hermann | 8cc38d2 | 2008-03-27 23:26:40 +0000 | [diff] [blame] | 297 | |
Uwe Hermann | 30d789b | 2008-03-31 20:21:49 +0000 | [diff] [blame] | 298 | config RTC_PORT_EXTENDED_VIA |
| 299 | bool "Extended RTC ports are 0x74/0x75" |
| 300 | default n |
| 301 | help |
| 302 | For recent chipsets with 256 NVRAM bytes, you have to access the |
| 303 | upper 128 bytes (128-255) using two different I/O ports, |
| 304 | usually 0x72/0x73. |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 305 | |
Uwe Hermann | 30d789b | 2008-03-31 20:21:49 +0000 | [diff] [blame] | 306 | On some chipsets this can be a different set of ports, though. |
| 307 | The VIA VT8237R for example only recognizes the ports 0x74/0x75 |
| 308 | for accessing the high 128 NVRAM bytes (as seems to be the case for |
| 309 | multiple VIA chipsets). |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 310 | |
Uwe Hermann | 30d789b | 2008-03-31 20:21:49 +0000 | [diff] [blame] | 311 | If you want to read or write CMOS bytes on computers with one of |
| 312 | these chipsets, say 'y' here. |
| 313 | |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 314 | config SPEAKER |
| 315 | bool "Support for PC speaker" |
Stefan Reinauer | 8af0d03 | 2012-12-14 13:05:21 -0800 | [diff] [blame] | 316 | depends on ARCH_X86 |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 317 | default y |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 318 | |
Nico Huber | 1f6bd94 | 2012-08-30 15:36:57 +0200 | [diff] [blame] | 319 | config STORAGE |
| 320 | bool "Support for storage devices" |
| 321 | default y |
| 322 | help |
| 323 | Select this option if you want support for storage devices (like |
| 324 | hard drives, memory sticks or optical drives). |
| 325 | |
| 326 | config STORAGE_64BIT_LBA |
| 327 | bool "Use 64-bit integers to address sectors" |
| 328 | depends on STORAGE |
| 329 | default n |
| 330 | help |
| 331 | If this is selected, sectors will be addressed by an 64-bit integer. |
| 332 | Select this to support LBA-48 for ATA drives. |
| 333 | |
| 334 | config STORAGE_ATA |
| 335 | bool "Support ATA drives (i.e. hard drives)" |
| 336 | depends on STORAGE |
| 337 | default y |
| 338 | help |
| 339 | Select this option if you want support for ATA storage devices |
| 340 | (i.e. hard drives). |
| 341 | |
| 342 | config STORAGE_ATAPI |
| 343 | bool "Support ATAPI drives (i.e. optical drives)" |
| 344 | depends on STORAGE |
| 345 | default y |
| 346 | select STORAGE_ATA |
| 347 | help |
| 348 | Select this option if you want support for ATAPI storage devices |
| 349 | (i.e. optical drives like CD or DVD drives). |
| 350 | |
| 351 | config STORAGE_AHCI |
| 352 | bool "Support for AHCI host controllers" |
| 353 | depends on STORAGE && (STORAGE_ATA || STORAGE_ATAPI) && PCI |
| 354 | default y |
| 355 | help |
| 356 | Select this option if you want support for SATA controllers in |
| 357 | AHCI mode. |
| 358 | |
| 359 | config STORAGE_AHCI_ONLY_TESTED |
| 360 | bool "Only enable tested controllers" |
| 361 | depends on STORAGE_AHCI |
| 362 | default y |
| 363 | help |
| 364 | If this option is selected only AHCI controllers which are known |
| 365 | to work will be used. |
| 366 | |
Gabe Black | d4d29a1 | 2014-04-10 02:36:49 -0700 | [diff] [blame] | 367 | config TIMER_RDTSC |
| 368 | bool |
| 369 | default y |
| 370 | depends on ARCH_X86 |
| 371 | |
| 372 | choice |
| 373 | prompt "Timer driver" |
| 374 | default TIMER_NONE |
| 375 | depends on !ARCH_X86 |
| 376 | |
| 377 | config TIMER_NONE |
| 378 | bool "None" |
| 379 | help |
| 380 | The timer driver is provided by the payload itself. |
| 381 | |
| 382 | config TIMER_MCT |
| 383 | bool "Exynos MCT" |
| 384 | |
| 385 | config TIMER_TEGRA_1US |
| 386 | bool "Tegra 1us" |
| 387 | |
Vadim Bendebury | 8ec74a3 | 2014-05-21 16:28:57 -0700 | [diff] [blame] | 388 | config TIMER_IPQ806X |
| 389 | bool "Timer for ipq806x platforms" |
| 390 | |
huang lin | ab69984 | 2014-06-20 11:34:46 +0800 | [diff] [blame] | 391 | config TIMER_RK |
| 392 | bool "Timer for Rockchip" |
Gabe Black | d4d29a1 | 2014-04-10 02:36:49 -0700 | [diff] [blame] | 393 | endchoice |
| 394 | |
| 395 | config TIMER_MCT_HZ |
| 396 | int "Exynos MCT frequency" |
| 397 | depends on TIMER_MCT |
| 398 | default 24000000 |
| 399 | |
| 400 | config TIMER_MCT_ADDRESS |
| 401 | hex "Exynos MCT base address" |
| 402 | depends on TIMER_MCT |
| 403 | default 0x101c0000 |
| 404 | |
huang lin | ab69984 | 2014-06-20 11:34:46 +0800 | [diff] [blame] | 405 | config TIMER_RK_ADDRESS |
| 406 | hex "Rockchip timer base address" |
| 407 | depends on TIMER_RK |
| 408 | default 0xff810020 |
| 409 | |
Gabe Black | d4d29a1 | 2014-04-10 02:36:49 -0700 | [diff] [blame] | 410 | config TIMER_TEGRA_1US_ADDRESS |
| 411 | hex "Tegra u1s timer base address" |
| 412 | depends on TIMER_TEGRA_1US |
| 413 | default 0x60005010 |
| 414 | |
Vadim Bendebury | 8ec74a3 | 2014-05-21 16:28:57 -0700 | [diff] [blame] | 415 | config IPQ806X_TIMER_FREQ |
| 416 | int "Hardware timer frequency" |
| 417 | default 32000 |
| 418 | depends on TIMER_IPQ806X |
| 419 | help |
| 420 | IPQ hardware presently provides a single timer running at 32KHz, a |
| 421 | finer granulariry timer is available but is not yet enabled. |
| 422 | |
| 423 | config IPQ806X_TIMER_REG |
| 424 | hex "Timer register address" |
| 425 | default 0x0200A008 |
| 426 | depends on TIMER_IPQ806X |
| 427 | help |
| 428 | Address of the register to read a free running timer value. |
| 429 | |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 430 | config USB |
| 431 | bool "USB Support" |
| 432 | default n |
| 433 | |
| 434 | config USB_UHCI |
| 435 | bool "Support for USB UHCI controllers" |
Stefan Reinauer | 8992e53 | 2013-05-02 16:16:41 -0700 | [diff] [blame] | 436 | depends on USB && ARCH_X86 |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 437 | help |
| 438 | Select this option if you are going to use USB 1.1 on an Intel based |
| 439 | system. |
| 440 | |
| 441 | config USB_OHCI |
| 442 | bool "Support for USB OHCI controllers" |
| 443 | depends on USB |
| 444 | help |
Stefan Reinauer | 8992e53 | 2013-05-02 16:16:41 -0700 | [diff] [blame] | 445 | Select this option if you are going to use USB 1.1 on a non-Intel based |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 446 | system. |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 447 | |
| 448 | config USB_EHCI |
| 449 | bool "Support for USB EHCI controllers" |
| 450 | depends on USB |
| 451 | help |
| 452 | Select this option if you want to use USB 2.0 |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 453 | |
Patrick Georgi | 6615ef3 | 2010-08-13 09:18:58 +0000 | [diff] [blame] | 454 | config USB_XHCI |
| 455 | bool "Support for USB xHCI controllers" |
| 456 | depends on USB |
| 457 | help |
| 458 | Select this option if you want to use USB 3.0 |
| 459 | NOTE: This option is not (fully) implemented yet |
| 460 | |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 461 | config USB_HID |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 462 | bool "Support for USB keyboards" |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 463 | depends on USB |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 464 | default y |
| 465 | help |
| 466 | Select this option if you want to use devices complying to the |
| 467 | USB HID (Human Interface Device) standard. Such devices are for |
| 468 | example keyboards and mice. Currently only keyboards are supported. |
| 469 | Say Y here unless you know exactly what you are doing. |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 470 | |
| 471 | config USB_HUB |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 472 | bool "Support for USB hubs" |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 473 | depends on USB |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 474 | default y |
| 475 | help |
| 476 | Select this option if you want to compile in support for USB hubs. |
| 477 | Say Y here unless you know exactly what you are doing. |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 478 | |
| 479 | config USB_MSC |
| 480 | bool "Support for USB storage" |
| 481 | depends on USB |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 482 | default y |
| 483 | help |
| 484 | Select this option if you want to compile in support for USB mass |
| 485 | storage devices (USB memory sticks, hard drives, CDROM/DVD drives) |
| 486 | Say Y here unless you know exactly what you are doing. |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 487 | |
Nico Huber | 0b78de2 | 2013-05-29 15:01:17 +0200 | [diff] [blame] | 488 | config USB_GEN_HUB |
| 489 | bool |
Nico Huber | 9029265 | 2013-06-13 14:37:15 +0200 | [diff] [blame] | 490 | default n if (!USB_HUB && !USB_XHCI) |
| 491 | default y if (USB_HUB || USB_XHCI) |
Stefan Reinauer | 8992e53 | 2013-05-02 16:16:41 -0700 | [diff] [blame] | 492 | config USB_PCI |
Julius Werner | d7c25b3 | 2013-09-04 17:20:32 -0700 | [diff] [blame] | 493 | bool "Auto-scan PCI bus for USB host controllers" |
| 494 | depends on USB |
Stefan Reinauer | 8992e53 | 2013-05-02 16:16:41 -0700 | [diff] [blame] | 495 | default y if ARCH_X86 |
| 496 | default n |
| 497 | |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 498 | endmenu |
| 499 | |
| 500 | menu "Debugging" |
| 501 | depends on DEVELOPER |
| 502 | |
| 503 | config DEBUG_MALLOC |
| 504 | bool "Debug memory allocator" |
| 505 | depends on USB |
| 506 | default n |
| 507 | help |
| 508 | Select this option if you want to debug the memory allocator. This |
| 509 | option logs all uses of the following functions: |
| 510 | |
| 511 | void free(void *ptr); |
| 512 | void *malloc(size_t size); |
| 513 | void *calloc(size_t nmemb, size_t size); |
| 514 | void *realloc(void *ptr, size_t size); |
| 515 | void *memalign(size_t align, size_t size); |
| 516 | |
| 517 | Say N here unless you are debugging memory allocator problems. |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 518 | |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 519 | endmenu |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 520 | |
Gabe Black | 0af03d2 | 2012-03-19 03:06:46 -0700 | [diff] [blame] | 521 | config BIG_ENDIAN |
| 522 | default n |
| 523 | bool |
| 524 | |
| 525 | config LITTLE_ENDIAN |
| 526 | default n |
| 527 | bool |
| 528 | |
Gabe Black | d267987 | 2013-01-18 15:49:00 -0800 | [diff] [blame] | 529 | # Whether the target system has an IO address space. |
| 530 | config IO_ADDRESS_SPACE |
| 531 | default n |
| 532 | bool |
| 533 | |
Gabe Black | 0af03d2 | 2012-03-19 03:06:46 -0700 | [diff] [blame] | 534 | source "arch/Config.in" |