Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 1 | uses CONFIG_HAVE_MP_TABLE |
Peter Stuge | 483b7bb | 2009-04-14 07:40:01 +0000 | [diff] [blame] | 2 | uses CONFIG_CBFS |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 3 | uses CONFIG_HAVE_PIRQ_TABLE |
| 4 | uses CONFIG_USE_FALLBACK_IMAGE |
| 5 | uses CONFIG_HAVE_FALLBACK_BOOT |
| 6 | uses CONFIG_HAVE_HARD_RESET |
| 7 | uses CONFIG_IRQ_SLOT_COUNT |
| 8 | uses CONFIG_HAVE_OPTION_TABLE |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 9 | uses CONFIG_MAX_CPUS |
arch import user (historical) | ef03afa | 2005-07-06 17:15:30 +0000 | [diff] [blame] | 10 | uses CONFIG_MAX_PHYSICAL_CPUS |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 11 | uses CONFIG_IOAPIC |
| 12 | uses CONFIG_SMP |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 13 | uses CONFIG_FALLBACK_SIZE |
| 14 | uses CONFIG_ROM_SIZE |
| 15 | uses CONFIG_ROM_SECTION_SIZE |
| 16 | uses CONFIG_ROM_IMAGE_SIZE |
| 17 | uses CONFIG_ROM_SECTION_SIZE |
| 18 | uses CONFIG_ROM_SECTION_OFFSET |
Ed Swierk | be13dc7 | 2006-12-15 12:56:28 +0000 | [diff] [blame] | 19 | uses CONFIG_ROM_PAYLOAD |
| 20 | uses CONFIG_ROM_PAYLOAD_START |
Ed Swierk | 1a7a5b4 | 2006-12-15 11:42:16 +0000 | [diff] [blame] | 21 | uses CONFIG_COMPRESSED_PAYLOAD_LZMA |
Myles Watson | 15674b7 | 2007-12-09 17:18:29 +0000 | [diff] [blame] | 22 | uses CONFIG_PRECOMPRESSED_PAYLOAD |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 23 | uses CONFIG_PAYLOAD_SIZE |
| 24 | uses CONFIG_ROMBASE |
| 25 | uses CONFIG_XIP_ROM_SIZE |
| 26 | uses CONFIG_XIP_ROM_BASE |
| 27 | uses CONFIG_STACK_SIZE |
| 28 | uses CONFIG_HEAP_SIZE |
| 29 | uses CONFIG_USE_OPTION_TABLE |
| 30 | uses CONFIG_LB_CKS_RANGE_START |
| 31 | uses CONFIG_LB_CKS_RANGE_END |
| 32 | uses CONFIG_LB_CKS_LOC |
| 33 | uses CONFIG_MAINBOARD_PART_NUMBER |
| 34 | uses CONFIG_MAINBOARD_VENDOR |
| 35 | uses CONFIG_MAINBOARD |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 36 | uses COREBOOT_EXTRA_VERSION |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 37 | uses CONFIG_RAMBASE |
| 38 | uses CONFIG_TTYS0_BAUD |
| 39 | uses CONFIG_TTYS0_BASE |
| 40 | uses CONFIG_TTYS0_LCS |
| 41 | uses CONFIG_DEFAULT_CONSOLE_LOGLEVEL |
| 42 | uses CONFIG_MAXIMUM_CONSOLE_LOGLEVEL |
| 43 | uses CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 44 | uses CONFIG_CONSOLE_SERIAL8250 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 45 | uses CONFIG_CROSS_COMPILE |
Eric Biederman | 709850a | 2004-11-05 10:48:04 +0000 | [diff] [blame] | 46 | uses CC |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 47 | uses HOSTCC |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 48 | uses CONFIG_OBJCOPY |
| 49 | uses CONFIG_USE_DCACHE_RAM |
| 50 | uses CONFIG_DCACHE_RAM_BASE |
| 51 | uses CONFIG_DCACHE_RAM_SIZE |
arch import user (historical) | 6ca7636 | 2005-07-06 17:17:25 +0000 | [diff] [blame] | 52 | uses CONFIG_USE_INIT |
Carl-Daniel Hailfinger | 93159bf | 2008-12-22 09:53:24 +0000 | [diff] [blame] | 53 | uses CONFIG_USE_PRINTK_IN_CAR |
arch import user (historical) | 6ca7636 | 2005-07-06 17:17:25 +0000 | [diff] [blame] | 54 | |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 55 | |
| 56 | ### |
| 57 | ### Build options |
| 58 | ### |
| 59 | |
| 60 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 61 | ## CONFIG_ROM_SIZE is the size of boot ROM that this board will use. |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 62 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 63 | default CONFIG_ROM_SIZE=524288 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 64 | |
| 65 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 66 | ## CONFIG_FALLBACK_SIZE is the amount of the ROM the complete fallback image will use |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 67 | ## |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 68 | default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 69 | |
| 70 | ## |
| 71 | ## Build code for the fallback boot |
| 72 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 73 | default CONFIG_HAVE_FALLBACK_BOOT=1 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 74 | |
| 75 | ## |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 76 | ## Build code to reset the motherboard from coreboot |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 77 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 78 | default CONFIG_HAVE_HARD_RESET=1 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 79 | |
| 80 | ## |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 81 | ## Build code to export a programmable irq routing table |
| 82 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 83 | default CONFIG_HAVE_PIRQ_TABLE=1 |
| 84 | default CONFIG_IRQ_SLOT_COUNT=9 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 85 | |
| 86 | ## |
| 87 | ## Build code to export an x86 MP table |
| 88 | ## Useful for specifying IRQ routing values |
| 89 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 90 | default CONFIG_HAVE_MP_TABLE=1 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 91 | |
| 92 | ## |
| 93 | ## Build code to export a CMOS option table |
| 94 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 95 | default CONFIG_HAVE_OPTION_TABLE=1 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 96 | |
| 97 | ## |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 98 | ## Move the default coreboot cmos range off of AMD RTC registers |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 99 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 100 | default CONFIG_LB_CKS_RANGE_START=49 |
| 101 | default CONFIG_LB_CKS_RANGE_END=122 |
| 102 | default CONFIG_LB_CKS_LOC=123 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 103 | |
| 104 | ## |
| 105 | ## Build code for SMP support |
| 106 | ## Only worry about 2 micro processors |
| 107 | ## |
| 108 | default CONFIG_SMP=1 |
| 109 | default CONFIG_MAX_CPUS=1 |
arch import user (historical) | ef03afa | 2005-07-06 17:15:30 +0000 | [diff] [blame] | 110 | default CONFIG_MAX_PHYSICAL_CPUS=1 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 111 | |
| 112 | ## |
| 113 | ## Build code to setup a generic IOAPIC |
| 114 | ## |
| 115 | default CONFIG_IOAPIC=1 |
| 116 | |
| 117 | ## |
Stefan Reinauer | 894562f | 2007-11-02 12:35:30 +0000 | [diff] [blame] | 118 | ## enable CACHE_AS_RAM specifics |
| 119 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 120 | default CONFIG_USE_DCACHE_RAM=1 |
| 121 | default CONFIG_DCACHE_RAM_BASE=0xcf000 |
| 122 | default CONFIG_DCACHE_RAM_SIZE=0x1000 |
Stefan Reinauer | 894562f | 2007-11-02 12:35:30 +0000 | [diff] [blame] | 123 | default CONFIG_USE_INIT=0 |
| 124 | |
| 125 | ## |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 126 | ## Clean up the motherboard id strings |
| 127 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 128 | default CONFIG_MAINBOARD_PART_NUMBER="E325" |
| 129 | default CONFIG_MAINBOARD_VENDOR="IBM" |
| 130 | #default CONFIG_MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x161f |
| 131 | #default CONFIG_MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x3016 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 132 | |
| 133 | ### |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 134 | ### coreboot layout values |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 135 | ### |
| 136 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 137 | ## CONFIG_ROM_IMAGE_SIZE is the amount of space to allow coreboot to occupy. |
| 138 | default CONFIG_ROM_IMAGE_SIZE = 65536 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 139 | |
| 140 | ## |
| 141 | ## Use a small 8K stack |
| 142 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 143 | default CONFIG_STACK_SIZE=0x2000 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 144 | |
| 145 | ## |
| 146 | ## Use a small 16K heap |
| 147 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 148 | default CONFIG_HEAP_SIZE=0x8000 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 149 | |
| 150 | ## |
| 151 | ## Only use the option table in a normal image |
| 152 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 153 | default CONFIG_USE_OPTION_TABLE = !CONFIG_USE_FALLBACK_IMAGE |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 154 | |
| 155 | ## |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 156 | ## Coreboot C code runs at this location in RAM |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 157 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 158 | default CONFIG_RAMBASE=0x00004000 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 159 | |
| 160 | ## |
| 161 | ## Load the payload from the ROM |
| 162 | ## |
Ed Swierk | be13dc7 | 2006-12-15 12:56:28 +0000 | [diff] [blame] | 163 | default CONFIG_ROM_PAYLOAD = 1 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 164 | |
| 165 | ### |
| 166 | ### Defaults of options that you may want to override in the target config file |
| 167 | ### |
| 168 | |
| 169 | ## |
| 170 | ## The default compiler |
| 171 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 172 | default CC="$(CONFIG_CROSS_COMPILE)gcc -m32" |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 173 | default HOSTCC="gcc" |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 174 | |
Carl-Daniel Hailfinger | 93159bf | 2008-12-22 09:53:24 +0000 | [diff] [blame] | 175 | default CONFIG_USE_PRINTK_IN_CAR=1 |
| 176 | |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 177 | ## |
| 178 | ## The Serial Console |
| 179 | ## |
| 180 | |
| 181 | # To Enable the Serial Console |
| 182 | default CONFIG_CONSOLE_SERIAL8250=1 |
| 183 | |
| 184 | ## Select the serial console baud rate |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 185 | default CONFIG_TTYS0_BAUD=115200 |
| 186 | #default CONFIG_TTYS0_BAUD=57600 |
| 187 | #default CONFIG_TTYS0_BAUD=38400 |
| 188 | #default CONFIG_TTYS0_BAUD=19200 |
| 189 | #default CONFIG_TTYS0_BAUD=9600 |
| 190 | #default CONFIG_TTYS0_BAUD=4800 |
| 191 | #default CONFIG_TTYS0_BAUD=2400 |
| 192 | #default CONFIG_TTYS0_BAUD=1200 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 193 | |
| 194 | # Select the serial console base port |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 195 | default CONFIG_TTYS0_BASE=0x3f8 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 196 | |
| 197 | # Select the serial protocol |
| 198 | # This defaults to 8 data bits, 1 stop bit, and no parity |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 199 | default CONFIG_TTYS0_LCS=0x3 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 200 | |
| 201 | ## |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 202 | ### Select the coreboot loglevel |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 203 | ## |
| 204 | ## EMERG 1 system is unusable |
| 205 | ## ALERT 2 action must be taken immediately |
| 206 | ## CRIT 3 critical conditions |
| 207 | ## ERR 4 error conditions |
| 208 | ## WARNING 5 warning conditions |
| 209 | ## NOTICE 6 normal but significant condition |
| 210 | ## INFO 7 informational |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 211 | ## CONFIG_DEBUG 8 debug-level messages |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 212 | ## SPEW 9 Way too many details |
| 213 | |
| 214 | ## Request this level of debugging output |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 215 | default CONFIG_DEFAULT_CONSOLE_LOGLEVEL=8 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 216 | ## At a maximum only compile in this level of debugging |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 217 | default CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=8 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 218 | |
| 219 | ## |
| 220 | ## Select power on after power fail setting |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 221 | default CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON" |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 222 | |
| 223 | ### End Options.lb |
Ronald G. Minnich | d469cda | 2009-03-31 16:32:01 +0000 | [diff] [blame] | 224 | # |
Peter Stuge | 483b7bb | 2009-04-14 07:40:01 +0000 | [diff] [blame] | 225 | # CBFS |
Ronald G. Minnich | d469cda | 2009-03-31 16:32:01 +0000 | [diff] [blame] | 226 | # |
| 227 | # |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 228 | default CONFIG_CBFS=1 |
Stefan Reinauer | a58cd52 | 2004-10-27 17:27:10 +0000 | [diff] [blame] | 229 | end |