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 | |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 51 | config DEVELOPER |
| 52 | bool "Developer Options" |
| 53 | default n |
| 54 | help |
| 55 | Prompt for developer options. These options are only interesting for |
| 56 | libpayload developers. |
| 57 | |
Patrick Georgi | b7d8f26 | 2015-07-06 09:04:42 +0000 | [diff] [blame] | 58 | choice |
| 59 | prompt "Compiler to use" |
| 60 | default COMPILER_GCC |
| 61 | help |
| 62 | This option allows you to select the compiler. |
| 63 | |
| 64 | config COMPILER_GCC |
| 65 | bool "GCC" |
| 66 | help |
| 67 | Use the GNU Compiler Collection (GCC). |
| 68 | |
| 69 | config COMPILER_LLVM_CLANG |
| 70 | bool "LLVM/clang" |
| 71 | help |
| 72 | Use LLVM/clang. |
| 73 | |
| 74 | endchoice |
| 75 | |
Julius Werner | 50a8174 | 2014-05-15 11:57:38 -0700 | [diff] [blame] | 76 | config REMOTEGDB |
| 77 | bool "Remote GDB stub" |
| 78 | default n |
| 79 | depends on GPL |
| 80 | help |
| 81 | Enable Remote GDB debugging support. |
| 82 | |
Gabe Black | d3890cc | 2012-03-11 01:57:53 -0800 | [diff] [blame] | 83 | config CHROMEOS |
| 84 | bool "ChromeOS specific features" |
| 85 | default n |
| 86 | help |
| 87 | Enable ChromeOS specific features. |
| 88 | |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 89 | endmenu |
| 90 | |
Jordan Crouse | 20c9cf1 | 2008-10-20 16:51:43 +0000 | [diff] [blame] | 91 | menu "Architecture Options" |
| 92 | |
Patrick Georgi | d385ed2 | 2009-05-21 10:02:52 +0000 | [diff] [blame] | 93 | choice |
| 94 | prompt "Target Architecture" |
David Hendricks | 4b6be98 | 2012-11-30 13:56:31 -0800 | [diff] [blame] | 95 | default ARCH_X86 |
Patrick Georgi | d385ed2 | 2009-05-21 10:02:52 +0000 | [diff] [blame] | 96 | |
Gabe Black | 51edd54 | 2013-09-30 23:00:33 -0700 | [diff] [blame] | 97 | config ARCH_ARM |
| 98 | bool "ARM" |
Stefan Reinauer | 8af0d03 | 2012-12-14 13:05:21 -0800 | [diff] [blame] | 99 | help |
Gabe Black | 51edd54 | 2013-09-30 23:00:33 -0700 | [diff] [blame] | 100 | Support the ARM architecture |
Stefan Reinauer | 8af0d03 | 2012-12-14 13:05:21 -0800 | [diff] [blame] | 101 | |
David Hendricks | 4b6be98 | 2012-11-30 13:56:31 -0800 | [diff] [blame] | 102 | config ARCH_X86 |
Patrick Georgi | d385ed2 | 2009-05-21 10:02:52 +0000 | [diff] [blame] | 103 | bool "x86" |
| 104 | help |
| 105 | Support the x86 architecture |
| 106 | |
Furquan Shaikh | 8c8c377 | 2014-02-19 11:35:30 -0800 | [diff] [blame] | 107 | config ARCH_ARM64 |
| 108 | bool "ARM64" |
| 109 | help |
| 110 | Support the ARM64 architecture |
| 111 | |
Ionela Voinescu | ce22c02 | 2014-09-24 17:05:33 +0100 | [diff] [blame] | 112 | config ARCH_MIPS |
| 113 | bool "MIPS" |
| 114 | help |
| 115 | Support the MIPS architecture |
| 116 | |
Patrick Georgi | d385ed2 | 2009-05-21 10:02:52 +0000 | [diff] [blame] | 117 | endchoice |
| 118 | |
Patrick Georgi | 7f96583 | 2011-04-21 18:57:16 +0200 | [diff] [blame] | 119 | config MEMMAP_RAM_ONLY |
| 120 | bool "Only consider RAM entries in memory map for further processing" |
| 121 | default n |
| 122 | |
Jordan Crouse | 20c9cf1 | 2008-10-20 16:51:43 +0000 | [diff] [blame] | 123 | config MULTIBOOT |
| 124 | bool "Multiboot header support" |
David Hendricks | 4b6be98 | 2012-11-30 13:56:31 -0800 | [diff] [blame] | 125 | depends on ARCH_X86 |
Jordan Crouse | 20c9cf1 | 2008-10-20 16:51:43 +0000 | [diff] [blame] | 126 | default y |
| 127 | |
| 128 | endmenu |
| 129 | |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 130 | menu "Standard Libraries" |
| 131 | |
| 132 | config LIBC |
| 133 | bool "Enable C library support" |
| 134 | default y |
| 135 | |
Patrick Georgi | 3b77b72 | 2011-07-07 15:41:53 +0200 | [diff] [blame] | 136 | config CURSES |
| 137 | bool "Build a curses library" |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 138 | default y |
| 139 | |
Patrick Georgi | 3b77b72 | 2011-07-07 15:41:53 +0200 | [diff] [blame] | 140 | choice |
| 141 | prompt "Curses implementation" |
| 142 | default PDCURSES |
| 143 | depends on CURSES |
| 144 | |
| 145 | config TINYCURSES |
Paul Menzel | dc1b3c1 | 2015-09-26 12:30:08 +0200 | [diff] [blame] | 146 | bool "TinyCurses" |
Patrick Georgi | 3b77b72 | 2011-07-07 15:41:53 +0200 | [diff] [blame] | 147 | help |
Paul Menzel | dc1b3c1 | 2015-09-26 12:30:08 +0200 | [diff] [blame] | 148 | TinyCurses was the first curses implementation for libpayload. |
Patrick Georgi | 3b77b72 | 2011-07-07 15:41:53 +0200 | [diff] [blame] | 149 | It features low memory consumption, static allocation of larger |
| 150 | data structures (so few or no memory allocation calls) and a |
| 151 | reduced feature set. |
| 152 | |
| 153 | config PDCURSES |
| 154 | bool "PDCurses" |
Patrick Georgi | 3b77b72 | 2011-07-07 15:41:53 +0200 | [diff] [blame] | 155 | help |
| 156 | libpayload's PDCurses port provides a full features curses |
| 157 | implementation, including libpanel, libmenu and libform (which |
| 158 | are taken from ncurses). |
| 159 | It requires more system resources, in particularily heap memory. |
| 160 | |
| 161 | endchoice |
| 162 | |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 163 | config CBFS |
| 164 | bool "CBFS support" |
| 165 | default y |
| 166 | help |
Patrick Georgi | 6de1ee4a | 2011-07-21 15:43:14 +0200 | [diff] [blame] | 167 | CBFS is the archive format of coreboot |
| 168 | |
| 169 | config LZMA |
| 170 | bool "LZMA decoder" |
| 171 | default y |
| 172 | help |
| 173 | LZMA decoder implementation, usable eg. by CBFS, |
| 174 | but also externally. |
Julius Werner | bf27391 | 2015-06-30 10:30:30 -0700 | [diff] [blame] | 175 | |
| 176 | config LZ4 |
| 177 | bool "LZ4 decoder" |
| 178 | default y |
| 179 | help |
| 180 | Decoder implementation for the LZ4 compression algorithm. |
| 181 | Adds standalone functions (CBFS support coming soon). |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 182 | endmenu |
| 183 | |
| 184 | menu "Console Options" |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 185 | |
Gabe Black | 4bb0731 | 2012-10-05 11:43:39 -0700 | [diff] [blame] | 186 | config SKIP_CONSOLE_INIT |
| 187 | bool "Skip initializing the consoles at startup" |
| 188 | default n |
| 189 | help |
| 190 | Normally, libpayload will initialize console input/output on startup |
| 191 | before the payload itself gets control. This option disables that |
| 192 | behavior and leaves console initialization up to the payload. |
| 193 | |
Gabe Black | a54b6a6 | 2012-09-29 00:21:27 -0700 | [diff] [blame] | 194 | config CBMEM_CONSOLE |
| 195 | bool "Send output to the in memory CBMEM console" |
| 196 | default y |
| 197 | |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 198 | config SERIAL_CONSOLE |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 199 | bool "See output on the serial port console" |
| 200 | default y |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 201 | |
Gabe Black | 9135cb4 | 2013-09-26 16:13:08 -0700 | [diff] [blame] | 202 | config 8250_SERIAL_CONSOLE |
Alexandru Gagniuc | 4d5317e | 2015-11-23 16:18:12 -0800 | [diff] [blame] | 203 | bool "8250-compatible serial port driver (including IO and MMIO)" |
Gabe Black | 9135cb4 | 2013-09-26 16:13:08 -0700 | [diff] [blame] | 204 | depends on SERIAL_CONSOLE |
Alexandru Gagniuc | 4d5317e | 2015-11-23 16:18:12 -0800 | [diff] [blame] | 205 | default y |
Ronald G. Minnich | 7b69454 | 2013-02-15 08:13:29 -0800 | [diff] [blame] | 206 | |
Gabe Black | a6aecc4 | 2014-04-10 01:07:28 -0700 | [diff] [blame] | 207 | config S5P_SERIAL_CONSOLE |
| 208 | bool "Exynos SOC, S5P compatible serial port driver" |
| 209 | depends on SERIAL_CONSOLE |
| 210 | default n |
| 211 | |
Vadim Bendebury | 897123a | 2014-05-27 18:28:59 -0700 | [diff] [blame] | 212 | config IPQ806X_SERIAL_CONSOLE |
| 213 | bool "IPQ806x SOC compatible serial port driver" |
| 214 | depends on SERIAL_CONSOLE |
| 215 | default n |
| 216 | |
Daisuke Nojiri | f8c8703 | 2014-10-09 09:56:43 -0700 | [diff] [blame] | 217 | config BG4CD_SERIAL_CONSOLE |
| 218 | bool "Serial port driver for Marvell's BG4CD" |
| 219 | depends on SERIAL_CONSOLE |
| 220 | default n |
| 221 | |
Marcelo Povoa | 558e9b5 | 2014-02-18 14:17:38 -0800 | [diff] [blame] | 222 | config PL011_SERIAL_CONSOLE |
| 223 | bool "PL011 compatible serial port driver" |
| 224 | depends on 8250_SERIAL_CONSOLE |
| 225 | default n |
| 226 | |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 227 | config SERIAL_IOBASE |
Gabe Black | 9135cb4 | 2013-09-26 16:13:08 -0700 | [diff] [blame] | 228 | ## This default is currently not used on non-x86 systems. |
| 229 | hex "Default I/O base for the serial port (default 0x3f8)" |
| 230 | depends on SERIAL_CONSOLE && ARCH_X86 |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 231 | default 0x3f8 |
| 232 | |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 233 | config SERIAL_SET_SPEED |
| 234 | bool "Override the serial console baud rate" |
| 235 | default n |
Uwe Hermann | fad8c2b | 2008-04-11 18:01:50 +0000 | [diff] [blame] | 236 | depends on SERIAL_CONSOLE |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 237 | |
| 238 | config SERIAL_BAUD_RATE |
| 239 | int "Serial console baud rate (default 115200)" |
Uwe Hermann | fad8c2b | 2008-04-11 18:01:50 +0000 | [diff] [blame] | 240 | depends on SERIAL_SET_SPEED |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 241 | default 115200 |
| 242 | |
Ulf Jordan | 2aea11f | 2008-08-18 19:29:41 +0000 | [diff] [blame] | 243 | config SERIAL_ACS_FALLBACK |
| 244 | bool "Use plain ASCII characters for ACS" |
| 245 | default n |
| 246 | depends on SERIAL_CONSOLE |
| 247 | help |
| 248 | The alternate character set (ACS) is used for drawing lines and |
| 249 | displaying a couple of other special graphics characters. The |
| 250 | ACS characters generally look good on screen, but can be difficult |
| 251 | to cut and paste from a terminal window to a text editor. |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 252 | |
Ulf Jordan | 2aea11f | 2008-08-18 19:29:41 +0000 | [diff] [blame] | 253 | 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] | 254 | approximate the appearance of ACS characters on the serial port |
Ulf Jordan | 2aea11f | 2008-08-18 19:29:41 +0000 | [diff] [blame] | 255 | console. |
| 256 | |
Jordan Crouse | 30939bd | 2008-04-10 22:49:02 +0000 | [diff] [blame] | 257 | config VIDEO_CONSOLE |
| 258 | bool "See output on a video console" |
| 259 | default y |
| 260 | |
| 261 | config VGA_VIDEO_CONSOLE |
| 262 | bool "VGA video console driver" |
Stefan Reinauer | 8af0d03 | 2012-12-14 13:05:21 -0800 | [diff] [blame] | 263 | depends on ARCH_X86 && VIDEO_CONSOLE |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 264 | default y |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 265 | |
Peter Stuge | 4b1971c | 2008-10-08 14:47:41 +0000 | [diff] [blame] | 266 | config GEODELX_VIDEO_CONSOLE |
| 267 | bool "Geode LX video console driver" |
Stefan Reinauer | 8af0d03 | 2012-12-14 13:05:21 -0800 | [diff] [blame] | 268 | depends on ARCH_X86 && VIDEO_CONSOLE |
Jordan Crouse | 5431553 | 2008-04-11 15:48:21 +0000 | [diff] [blame] | 269 | default n |
| 270 | |
Stefan Reinauer | b700254 | 2010-03-25 18:56:26 +0000 | [diff] [blame] | 271 | config COREBOOT_VIDEO_CONSOLE |
| 272 | bool "coreboot video console driver" |
| 273 | depends on VIDEO_CONSOLE && !GEODELX_VIDEO_CONSOLE |
| 274 | default n |
| 275 | help |
| 276 | Say Y here if coreboot switched to a graphics mode and |
| 277 | your payload wants to use it. |
| 278 | |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 279 | config PC_KEYBOARD |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 280 | bool "Allow input from a PC keyboard" |
Marc Jones | 019bacb4 | 2014-12-23 15:22:30 -0700 | [diff] [blame] | 281 | default y if ARCH_X86 # uses IO |
| 282 | default n |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 283 | |
Stefan Reinauer | d84ef1e | 2008-09-26 18:37:26 +0000 | [diff] [blame] | 284 | config PC_KEYBOARD_LAYOUT_US |
| 285 | bool "English (US) keyboard layout" |
| 286 | depends on PC_KEYBOARD |
| 287 | default y |
| 288 | |
| 289 | config PC_KEYBOARD_LAYOUT_DE |
| 290 | bool "German keyboard layout" |
| 291 | depends on PC_KEYBOARD |
| 292 | default n |
| 293 | |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 294 | endmenu |
| 295 | |
| 296 | menu "Drivers" |
| 297 | |
| 298 | config PCI |
| 299 | bool "Support for PCI devices" |
Stefan Reinauer | 8af0d03 | 2012-12-14 13:05:21 -0800 | [diff] [blame] | 300 | depends on ARCH_X86 # for now |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 301 | default y |
| 302 | |
Uwe Hermann | c16d24e | 2008-03-31 15:17:39 +0000 | [diff] [blame] | 303 | config NVRAM |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 304 | bool "Support for reading/writing NVRAM bytes" |
Stefan Reinauer | 8af0d03 | 2012-12-14 13:05:21 -0800 | [diff] [blame] | 305 | depends on ARCH_X86 # for now |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 306 | default y |
Uwe Hermann | 8cc38d2 | 2008-03-27 23:26:40 +0000 | [diff] [blame] | 307 | |
Uwe Hermann | 30d789b | 2008-03-31 20:21:49 +0000 | [diff] [blame] | 308 | config RTC_PORT_EXTENDED_VIA |
| 309 | bool "Extended RTC ports are 0x74/0x75" |
| 310 | default n |
| 311 | help |
| 312 | For recent chipsets with 256 NVRAM bytes, you have to access the |
| 313 | upper 128 bytes (128-255) using two different I/O ports, |
| 314 | usually 0x72/0x73. |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 315 | |
Uwe Hermann | 30d789b | 2008-03-31 20:21:49 +0000 | [diff] [blame] | 316 | On some chipsets this can be a different set of ports, though. |
| 317 | The VIA VT8237R for example only recognizes the ports 0x74/0x75 |
| 318 | for accessing the high 128 NVRAM bytes (as seems to be the case for |
| 319 | multiple VIA chipsets). |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 320 | |
Uwe Hermann | 30d789b | 2008-03-31 20:21:49 +0000 | [diff] [blame] | 321 | If you want to read or write CMOS bytes on computers with one of |
| 322 | these chipsets, say 'y' here. |
| 323 | |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 324 | config SPEAKER |
| 325 | bool "Support for PC speaker" |
Stefan Reinauer | 8af0d03 | 2012-12-14 13:05:21 -0800 | [diff] [blame] | 326 | depends on ARCH_X86 |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 327 | default y |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 328 | |
Nico Huber | 1f6bd94 | 2012-08-30 15:36:57 +0200 | [diff] [blame] | 329 | config STORAGE |
| 330 | bool "Support for storage devices" |
| 331 | default y |
| 332 | help |
| 333 | Select this option if you want support for storage devices (like |
| 334 | hard drives, memory sticks or optical drives). |
| 335 | |
| 336 | config STORAGE_64BIT_LBA |
| 337 | bool "Use 64-bit integers to address sectors" |
| 338 | depends on STORAGE |
| 339 | default n |
| 340 | help |
| 341 | If this is selected, sectors will be addressed by an 64-bit integer. |
| 342 | Select this to support LBA-48 for ATA drives. |
| 343 | |
| 344 | config STORAGE_ATA |
| 345 | bool "Support ATA drives (i.e. hard drives)" |
| 346 | depends on STORAGE |
| 347 | default y |
| 348 | help |
| 349 | Select this option if you want support for ATA storage devices |
| 350 | (i.e. hard drives). |
| 351 | |
| 352 | config STORAGE_ATAPI |
| 353 | bool "Support ATAPI drives (i.e. optical drives)" |
| 354 | depends on STORAGE |
| 355 | default y |
| 356 | select STORAGE_ATA |
| 357 | help |
| 358 | Select this option if you want support for ATAPI storage devices |
| 359 | (i.e. optical drives like CD or DVD drives). |
| 360 | |
| 361 | config STORAGE_AHCI |
| 362 | bool "Support for AHCI host controllers" |
| 363 | depends on STORAGE && (STORAGE_ATA || STORAGE_ATAPI) && PCI |
| 364 | default y |
| 365 | help |
| 366 | Select this option if you want support for SATA controllers in |
| 367 | AHCI mode. |
| 368 | |
| 369 | config STORAGE_AHCI_ONLY_TESTED |
| 370 | bool "Only enable tested controllers" |
| 371 | depends on STORAGE_AHCI |
| 372 | default y |
| 373 | help |
| 374 | If this option is selected only AHCI controllers which are known |
| 375 | to work will be used. |
| 376 | |
Gabe Black | d4d29a1 | 2014-04-10 02:36:49 -0700 | [diff] [blame] | 377 | config TIMER_RDTSC |
| 378 | bool |
| 379 | default y |
| 380 | depends on ARCH_X86 |
| 381 | |
| 382 | choice |
| 383 | prompt "Timer driver" |
| 384 | default TIMER_NONE |
| 385 | depends on !ARCH_X86 |
| 386 | |
| 387 | config TIMER_NONE |
| 388 | bool "None" |
| 389 | help |
| 390 | The timer driver is provided by the payload itself. |
| 391 | |
| 392 | config TIMER_MCT |
| 393 | bool "Exynos MCT" |
| 394 | |
| 395 | config TIMER_TEGRA_1US |
| 396 | bool "Tegra 1us" |
| 397 | |
Vadim Bendebury | 8ec74a3 | 2014-05-21 16:28:57 -0700 | [diff] [blame] | 398 | config TIMER_IPQ806X |
| 399 | bool "Timer for ipq806x platforms" |
| 400 | |
Ruilin Hao | 5bcbd11 | 2015-11-10 00:41:41 -0800 | [diff] [blame] | 401 | config TIMER_ARMADA38X |
| 402 | bool "Timer for armada38x platforms" |
| 403 | help |
| 404 | This is the timer driver for marvell armada38x |
| 405 | platforms. |
| 406 | |
huang lin | ab69984 | 2014-06-20 11:34:46 +0800 | [diff] [blame] | 407 | config TIMER_RK |
| 408 | bool "Timer for Rockchip" |
Ionela Voinescu | ce22c02 | 2014-09-24 17:05:33 +0100 | [diff] [blame] | 409 | |
| 410 | config TIMER_BG4CD |
| 411 | bool "Marvell BG4CD" |
| 412 | |
Daisuke Nojiri | e18c38e3 | 2015-02-02 13:40:22 -0800 | [diff] [blame] | 413 | config TIMER_CYGNUS |
| 414 | bool "Timer for Cygnus" |
| 415 | |
Ionela Voinescu | ce22c02 | 2014-09-24 17:05:33 +0100 | [diff] [blame] | 416 | config TIMER_IMG_PISTACHIO |
| 417 | bool "Timer for IMG Pistachio" |
| 418 | |
Yidi Lin | 7267ccb | 2015-02-09 16:34:44 +0800 | [diff] [blame] | 419 | config TIMER_MTK |
| 420 | bool "Timer for MediaTek MT8173" |
| 421 | |
Gabe Black | d4d29a1 | 2014-04-10 02:36:49 -0700 | [diff] [blame] | 422 | endchoice |
| 423 | |
| 424 | config TIMER_MCT_HZ |
| 425 | int "Exynos MCT frequency" |
| 426 | depends on TIMER_MCT |
| 427 | default 24000000 |
| 428 | |
| 429 | config TIMER_MCT_ADDRESS |
| 430 | hex "Exynos MCT base address" |
| 431 | depends on TIMER_MCT |
| 432 | default 0x101c0000 |
| 433 | |
huang lin | ab69984 | 2014-06-20 11:34:46 +0800 | [diff] [blame] | 434 | config TIMER_RK_ADDRESS |
| 435 | hex "Rockchip timer base address" |
| 436 | depends on TIMER_RK |
| 437 | default 0xff810020 |
| 438 | |
Gabe Black | d4d29a1 | 2014-04-10 02:36:49 -0700 | [diff] [blame] | 439 | config TIMER_TEGRA_1US_ADDRESS |
| 440 | hex "Tegra u1s timer base address" |
| 441 | depends on TIMER_TEGRA_1US |
| 442 | default 0x60005010 |
| 443 | |
Vadim Bendebury | 8ec74a3 | 2014-05-21 16:28:57 -0700 | [diff] [blame] | 444 | config IPQ806X_TIMER_FREQ |
| 445 | int "Hardware timer frequency" |
| 446 | default 32000 |
| 447 | depends on TIMER_IPQ806X |
| 448 | help |
| 449 | IPQ hardware presently provides a single timer running at 32KHz, a |
| 450 | finer granulariry timer is available but is not yet enabled. |
| 451 | |
| 452 | config IPQ806X_TIMER_REG |
| 453 | hex "Timer register address" |
| 454 | default 0x0200A008 |
| 455 | depends on TIMER_IPQ806X |
| 456 | help |
| 457 | Address of the register to read a free running timer value. |
| 458 | |
Ruilin Hao | 5bcbd11 | 2015-11-10 00:41:41 -0800 | [diff] [blame] | 459 | config ARMADA38X_TIMER_FREQ |
| 460 | int "Hardware timer frequency" |
| 461 | depends on TIMER_ARMADA38X |
| 462 | default 25000000 |
| 463 | |
| 464 | config ARMADA38X_TIMER_REG |
| 465 | hex "Timer register address" |
| 466 | default 0xF1020314 |
| 467 | depends on TIMER_ARMADA38X |
| 468 | |
Daisuke Nojiri | 7ab46f8 | 2015-02-18 16:41:26 -0800 | [diff] [blame] | 469 | config IPROC_PERIPH_GLB_TIM_REG_BASE |
| 470 | hex "Cygnus timer base address" |
| 471 | depends on TIMER_CYGNUS |
| 472 | default 0x19020200 |
| 473 | |
Yidi Lin | 7267ccb | 2015-02-09 16:34:44 +0800 | [diff] [blame] | 474 | config TIMER_MTK_HZ |
| 475 | int "MediaTek GPT frequency" |
| 476 | depends on TIMER_MTK |
| 477 | default 13000000 |
| 478 | help |
| 479 | Clock frequency of MediaTek General Purpose Timer. |
| 480 | |
| 481 | config TIMER_MTK_ADDRESS |
| 482 | hex "MTK GPT register address" |
| 483 | depends on TIMER_MTK |
| 484 | default 0x10008048 |
| 485 | help |
| 486 | Address of GPT4's counter register to read the FREERUN-mode timer value. |
| 487 | |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 488 | config USB |
| 489 | bool "USB Support" |
| 490 | default n |
| 491 | |
| 492 | config USB_UHCI |
| 493 | bool "Support for USB UHCI controllers" |
Stefan Reinauer | 8992e53 | 2013-05-02 16:16:41 -0700 | [diff] [blame] | 494 | depends on USB && ARCH_X86 |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 495 | help |
| 496 | Select this option if you are going to use USB 1.1 on an Intel based |
| 497 | system. |
| 498 | |
| 499 | config USB_OHCI |
| 500 | bool "Support for USB OHCI controllers" |
| 501 | depends on USB |
| 502 | help |
Stefan Reinauer | 8992e53 | 2013-05-02 16:16:41 -0700 | [diff] [blame] | 503 | 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] | 504 | system. |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 505 | |
| 506 | config USB_EHCI |
| 507 | bool "Support for USB EHCI controllers" |
| 508 | depends on USB |
| 509 | help |
| 510 | Select this option if you want to use USB 2.0 |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 511 | |
Patrick Georgi | 6615ef3 | 2010-08-13 09:18:58 +0000 | [diff] [blame] | 512 | config USB_XHCI |
| 513 | bool "Support for USB xHCI controllers" |
| 514 | depends on USB |
| 515 | help |
| 516 | Select this option if you want to use USB 3.0 |
| 517 | NOTE: This option is not (fully) implemented yet |
| 518 | |
Yidi Lin | d42ee15 | 2015-05-07 15:36:04 +0800 | [diff] [blame] | 519 | config USB_XHCI_MTK_QUIRK |
| 520 | bool "Support for USB xHCI controllers on MTK SoC" |
| 521 | depends on USB_XHCI |
| 522 | help |
| 523 | Select this option if you want to use USB 3.0 on MTK platform. |
| 524 | |
huang lin | 365250e | 2014-08-06 16:43:43 +0800 | [diff] [blame] | 525 | config USB_DWC2 |
| 526 | bool "Support for USB DesignWare HCD controllers" |
David Hendricks | 75daee5 | 2015-08-06 14:08:55 -0700 | [diff] [blame] | 527 | depends on USB |
huang lin | 365250e | 2014-08-06 16:43:43 +0800 | [diff] [blame] | 528 | help |
| 529 | Select this option if you want to use DesignWare USB 2.0 host controller |
| 530 | |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 531 | config USB_HID |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 532 | bool "Support for USB keyboards" |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 533 | depends on USB |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 534 | default y |
| 535 | help |
| 536 | Select this option if you want to use devices complying to the |
| 537 | USB HID (Human Interface Device) standard. Such devices are for |
| 538 | example keyboards and mice. Currently only keyboards are supported. |
| 539 | Say Y here unless you know exactly what you are doing. |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 540 | |
| 541 | config USB_HUB |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 542 | bool "Support for USB hubs" |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 543 | depends on USB |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 544 | default y |
| 545 | help |
| 546 | Select this option if you want to compile in support for USB hubs. |
| 547 | Say Y here unless you know exactly what you are doing. |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 548 | |
Jim Lin | 654cf9c | 2014-09-26 19:12:41 +0800 | [diff] [blame] | 549 | config USB_EHCI_HOSTPC_ROOT_HUB_TT |
| 550 | bool "Support for USB EHCI ROOT HUB that has TT" |
| 551 | depends on USB_EHCI |
| 552 | default n |
| 553 | help |
| 554 | Select this option if USB EHCI root hub supports TT (Transaction |
| 555 | Translator). |
| 556 | To support this TT feature we read port-speed from non-standard |
| 557 | register HOSTPC (offset 84h of Operational Register base). |
| 558 | |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 559 | config USB_MSC |
| 560 | bool "Support for USB storage" |
| 561 | depends on USB |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 562 | default y |
| 563 | help |
| 564 | Select this option if you want to compile in support for USB mass |
| 565 | storage devices (USB memory sticks, hard drives, CDROM/DVD drives) |
| 566 | Say Y here unless you know exactly what you are doing. |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 567 | |
Nico Huber | 0b78de2 | 2013-05-29 15:01:17 +0200 | [diff] [blame] | 568 | config USB_GEN_HUB |
| 569 | bool |
Nico Huber | 9029265 | 2013-06-13 14:37:15 +0200 | [diff] [blame] | 570 | default n if (!USB_HUB && !USB_XHCI) |
| 571 | default y if (USB_HUB || USB_XHCI) |
Stefan Reinauer | 8992e53 | 2013-05-02 16:16:41 -0700 | [diff] [blame] | 572 | config USB_PCI |
Julius Werner | d7c25b3 | 2013-09-04 17:20:32 -0700 | [diff] [blame] | 573 | bool "Auto-scan PCI bus for USB host controllers" |
| 574 | depends on USB |
Stefan Reinauer | 8992e53 | 2013-05-02 16:16:41 -0700 | [diff] [blame] | 575 | default y if ARCH_X86 |
| 576 | default n |
| 577 | |
Patrick Georgi | 1bd3050 | 2015-01-26 20:17:49 +0100 | [diff] [blame] | 578 | config UDC |
| 579 | bool "USB device mode support" |
| 580 | default n |
| 581 | help |
| 582 | Select this option to add support for running as |
| 583 | a USB device. |
| 584 | |
| 585 | config UDC_CI |
| 586 | bool "ChipIdea driver for USB device mode" |
| 587 | depends on UDC |
| 588 | default n |
| 589 | help |
| 590 | Select this option to add the driver for ChipIdea |
| 591 | USB device controller. |
| 592 | |
huang lin | 41e2499 | 2015-05-20 17:27:10 +0800 | [diff] [blame] | 593 | config UDC_DWC2 |
| 594 | bool "Designware driver for USB device mode" |
| 595 | depends on UDC |
| 596 | default n |
| 597 | help |
| 598 | Select this option to add the driver for Designware |
| 599 | USB device controller. |
| 600 | |
Stefan Reinauer | e5d30b7 | 2010-03-25 22:15:19 +0000 | [diff] [blame] | 601 | endmenu |
| 602 | |
| 603 | menu "Debugging" |
| 604 | depends on DEVELOPER |
| 605 | |
| 606 | config DEBUG_MALLOC |
| 607 | bool "Debug memory allocator" |
| 608 | depends on USB |
| 609 | default n |
| 610 | help |
| 611 | Select this option if you want to debug the memory allocator. This |
| 612 | option logs all uses of the following functions: |
| 613 | |
| 614 | void free(void *ptr); |
| 615 | void *malloc(size_t size); |
| 616 | void *calloc(size_t nmemb, size_t size); |
| 617 | void *realloc(void *ptr, size_t size); |
| 618 | void *memalign(size_t align, size_t size); |
| 619 | |
| 620 | Say N here unless you are debugging memory allocator problems. |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 621 | |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 622 | endmenu |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 623 | |
Gabe Black | 0af03d2 | 2012-03-19 03:06:46 -0700 | [diff] [blame] | 624 | config BIG_ENDIAN |
| 625 | default n |
| 626 | bool |
| 627 | |
| 628 | config LITTLE_ENDIAN |
| 629 | default n |
| 630 | bool |
| 631 | |
Gabe Black | d267987 | 2013-01-18 15:49:00 -0800 | [diff] [blame] | 632 | # Whether the target system has an IO address space. |
| 633 | config IO_ADDRESS_SPACE |
| 634 | default n |
| 635 | bool |
| 636 | |
Stefan Reinauer | dee4420 | 2015-06-11 14:33:11 -0700 | [diff] [blame] | 637 | source "arch/arm/Kconfig" |
| 638 | source "arch/arm64/Kconfig" |
| 639 | source "arch/mips/Kconfig" |
| 640 | source "arch/x86/Kconfig" |