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 | |
Uwe Hermann | 661e380 | 2008-03-21 18:37:23 +0000 | [diff] [blame] | 33 | # When (if) we support multiple architectures, this will become an option. |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 34 | config TARGET_I386 |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 35 | bool |
| 36 | default y |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 37 | |
Jordan Crouse | 20c9cf1 | 2008-10-20 16:51:43 +0000 | [diff] [blame] | 38 | menu "Architecture Options" |
| 39 | |
| 40 | config MULTIBOOT |
| 41 | bool "Multiboot header support" |
| 42 | default y |
| 43 | |
| 44 | endmenu |
| 45 | |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 46 | menu "Standard Libraries" |
| 47 | |
| 48 | config LIBC |
| 49 | bool "Enable C library support" |
| 50 | default y |
| 51 | |
| 52 | config TINYCURSES |
| 53 | bool "Enable tinycurses support" |
| 54 | default y |
| 55 | |
| 56 | endmenu |
| 57 | |
| 58 | menu "Console Options" |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 59 | |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 60 | config SERIAL_CONSOLE |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 61 | bool "See output on the serial port console" |
| 62 | default y |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 63 | |
| 64 | config SERIAL_IOBASE |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 65 | hex "I/O base for the serial port (default 0x3f8)" |
Uwe Hermann | fad8c2b | 2008-04-11 18:01:50 +0000 | [diff] [blame] | 66 | depends on SERIAL_CONSOLE |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 67 | default 0x3f8 |
| 68 | |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 69 | config SERIAL_SET_SPEED |
| 70 | bool "Override the serial console baud rate" |
| 71 | default n |
Uwe Hermann | fad8c2b | 2008-04-11 18:01:50 +0000 | [diff] [blame] | 72 | depends on SERIAL_CONSOLE |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 73 | |
| 74 | config SERIAL_BAUD_RATE |
| 75 | int "Serial console baud rate (default 115200)" |
Uwe Hermann | fad8c2b | 2008-04-11 18:01:50 +0000 | [diff] [blame] | 76 | depends on SERIAL_SET_SPEED |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 77 | default 115200 |
| 78 | |
Ulf Jordan | 2aea11f | 2008-08-18 19:29:41 +0000 | [diff] [blame] | 79 | config SERIAL_ACS_FALLBACK |
| 80 | bool "Use plain ASCII characters for ACS" |
| 81 | default n |
| 82 | depends on SERIAL_CONSOLE |
| 83 | help |
| 84 | The alternate character set (ACS) is used for drawing lines and |
| 85 | displaying a couple of other special graphics characters. The |
| 86 | ACS characters generally look good on screen, but can be difficult |
| 87 | to cut and paste from a terminal window to a text editor. |
| 88 | |
| 89 | Say 'y' here if you want to always use plain ASCII characters to |
| 90 | approximate the appearance of ACS characters on the serial port |
| 91 | console. |
| 92 | |
Jordan Crouse | 30939bd | 2008-04-10 22:49:02 +0000 | [diff] [blame] | 93 | config VIDEO_CONSOLE |
| 94 | bool "See output on a video console" |
| 95 | default y |
| 96 | |
| 97 | config VGA_VIDEO_CONSOLE |
| 98 | bool "VGA video console driver" |
| 99 | depends on VIDEO_CONSOLE |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 100 | default y |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 101 | |
Peter Stuge | 4b1971c | 2008-10-08 14:47:41 +0000 | [diff] [blame] | 102 | config GEODELX_VIDEO_CONSOLE |
| 103 | bool "Geode LX video console driver" |
Jordan Crouse | 5431553 | 2008-04-11 15:48:21 +0000 | [diff] [blame] | 104 | depends on VIDEO_CONSOLE |
| 105 | default n |
| 106 | |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 107 | config PC_KEYBOARD |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 108 | bool "Allow input from a PC keyboard" |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 109 | default y |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 110 | |
Stefan Reinauer | d84ef1e | 2008-09-26 18:37:26 +0000 | [diff] [blame] | 111 | config PC_KEYBOARD_LAYOUT_US |
| 112 | bool "English (US) keyboard layout" |
| 113 | depends on PC_KEYBOARD |
| 114 | default y |
| 115 | |
| 116 | config PC_KEYBOARD_LAYOUT_DE |
| 117 | bool "German keyboard layout" |
| 118 | depends on PC_KEYBOARD |
| 119 | default n |
| 120 | |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 121 | endmenu |
| 122 | |
| 123 | menu "Drivers" |
| 124 | |
| 125 | config PCI |
| 126 | bool "Support for PCI devices" |
| 127 | default y |
| 128 | |
Uwe Hermann | c16d24e | 2008-03-31 15:17:39 +0000 | [diff] [blame] | 129 | config NVRAM |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 130 | bool "Support for reading/writing NVRAM bytes" |
| 131 | default y |
Uwe Hermann | 8cc38d2 | 2008-03-27 23:26:40 +0000 | [diff] [blame] | 132 | |
Uwe Hermann | 30d789b | 2008-03-31 20:21:49 +0000 | [diff] [blame] | 133 | config RTC_PORT_EXTENDED_VIA |
| 134 | bool "Extended RTC ports are 0x74/0x75" |
| 135 | default n |
| 136 | help |
| 137 | For recent chipsets with 256 NVRAM bytes, you have to access the |
| 138 | upper 128 bytes (128-255) using two different I/O ports, |
| 139 | usually 0x72/0x73. |
| 140 | |
| 141 | On some chipsets this can be a different set of ports, though. |
| 142 | The VIA VT8237R for example only recognizes the ports 0x74/0x75 |
| 143 | for accessing the high 128 NVRAM bytes (as seems to be the case for |
| 144 | multiple VIA chipsets). |
| 145 | |
| 146 | If you want to read or write CMOS bytes on computers with one of |
| 147 | these chipsets, say 'y' here. |
| 148 | |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 149 | config SPEAKER |
| 150 | bool "Support for PC speaker" |
Uwe Hermann | 2d758b8 | 2008-03-31 15:21:24 +0000 | [diff] [blame] | 151 | default y |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 152 | |
Patrick Georgi | d21f68b | 2008-09-02 16:06:22 +0000 | [diff] [blame] | 153 | config USB |
| 154 | bool "USB Support" |
| 155 | default n |
| 156 | |
| 157 | config USB_UHCI |
| 158 | bool "Support for USB UHCI controllers" |
| 159 | depends on USB |
| 160 | help |
| 161 | Select this option if you are going to use USB 1.1 on an Intel based |
| 162 | system. |
| 163 | |
| 164 | config USB_OHCI |
| 165 | bool "Support for USB OHCI controllers" |
| 166 | depends on USB |
| 167 | help |
| 168 | Select this option if you are going to use USB 1.1 on an AMD based |
| 169 | system. |
| 170 | NOTE: This option is not (fully) implemented yet |
| 171 | |
| 172 | config USB_EHCI |
| 173 | bool "Support for USB EHCI controllers" |
| 174 | depends on USB |
| 175 | help |
| 176 | Select this option if you want to use USB 2.0 |
| 177 | NOTE: This option is not (fully) implemented yet |
| 178 | |
| 179 | config USB_HID |
| 180 | bool "Support for USB keyboards (broken)" |
| 181 | depends on USB |
| 182 | default n |
| 183 | |
| 184 | config USB_HUB |
| 185 | bool "Support for USB hubs (broken)" |
| 186 | depends on USB |
| 187 | default n |
| 188 | |
| 189 | config USB_MSC |
| 190 | bool "Support for USB storage" |
| 191 | depends on USB |
| 192 | |
| 193 | |
Jordan Crouse | f6145c3 | 2008-03-19 23:56:58 +0000 | [diff] [blame] | 194 | endmenu |
Stefan Reinauer | 6986358 | 2008-08-08 13:45:03 +0000 | [diff] [blame] | 195 | |