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_HAVE_ACPI_TABLES |
| 5 | uses CONFIG_HAVE_ACPI_RESUME |
| 6 | uses CONFIG_ACPI_SSDTX_NUM |
| 7 | uses CONFIG_USE_FALLBACK_IMAGE |
| 8 | uses CONFIG_USE_FAILOVER_IMAGE |
| 9 | uses CONFIG_HAVE_FALLBACK_BOOT |
| 10 | uses CONFIG_HAVE_FAILOVER_BOOT |
| 11 | uses CONFIG_HAVE_HARD_RESET |
| 12 | uses CONFIG_IRQ_SLOT_COUNT |
| 13 | uses CONFIG_HAVE_OPTION_TABLE |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 14 | uses CONFIG_MAX_CPUS |
| 15 | uses CONFIG_MAX_PHYSICAL_CPUS |
| 16 | uses CONFIG_LOGICAL_CPUS |
| 17 | uses CONFIG_IOAPIC |
| 18 | uses CONFIG_SMP |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 19 | uses CONFIG_FALLBACK_SIZE |
| 20 | uses CONFIG_FAILOVER_SIZE |
| 21 | uses CONFIG_ROM_SIZE |
| 22 | uses CONFIG_ROM_SECTION_SIZE |
| 23 | uses CONFIG_ROM_IMAGE_SIZE |
| 24 | uses CONFIG_ROM_SECTION_SIZE |
| 25 | uses CONFIG_ROM_SECTION_OFFSET |
Ed Swierk | be13dc7 | 2006-12-15 12:56:28 +0000 | [diff] [blame] | 26 | uses CONFIG_ROM_PAYLOAD |
| 27 | uses CONFIG_ROM_PAYLOAD_START |
Ed Swierk | 1a7a5b4 | 2006-12-15 11:42:16 +0000 | [diff] [blame] | 28 | uses CONFIG_COMPRESSED_PAYLOAD_LZMA |
Myles Watson | f9f1ae8 | 2007-11-07 19:07:17 +0000 | [diff] [blame] | 29 | uses CONFIG_PRECOMPRESSED_PAYLOAD |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 30 | uses CONFIG_PAYLOAD_SIZE |
| 31 | uses CONFIG_ROMBASE |
| 32 | uses CONFIG_XIP_ROM_SIZE |
| 33 | uses CONFIG_XIP_ROM_BASE |
| 34 | uses CONFIG_STACK_SIZE |
| 35 | uses CONFIG_HEAP_SIZE |
| 36 | uses CONFIG_USE_OPTION_TABLE |
| 37 | uses CONFIG_LB_CKS_RANGE_START |
| 38 | uses CONFIG_LB_CKS_RANGE_END |
| 39 | uses CONFIG_LB_CKS_LOC |
| 40 | uses CONFIG_MAINBOARD_PART_NUMBER |
| 41 | uses CONFIG_MAINBOARD_VENDOR |
| 42 | uses CONFIG_MAINBOARD |
| 43 | uses CONFIG_MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID |
| 44 | uses CONFIG_MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 45 | uses COREBOOT_EXTRA_VERSION |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 46 | uses CONFIG_RAMBASE |
| 47 | uses CONFIG_TTYS0_BAUD |
| 48 | uses CONFIG_TTYS0_BASE |
| 49 | uses CONFIG_TTYS0_LCS |
| 50 | uses CONFIG_DEFAULT_CONSOLE_LOGLEVEL |
| 51 | uses CONFIG_MAXIMUM_CONSOLE_LOGLEVEL |
| 52 | uses CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 53 | uses CONFIG_CONSOLE_SERIAL8250 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 54 | uses CONFIG_HAVE_INIT_TIMER |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 55 | uses CONFIG_GDB_STUB |
| 56 | uses CONFIG_GDB_STUB |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 57 | uses CONFIG_CROSS_COMPILE |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 58 | uses CC |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 59 | uses HOSTCC |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 60 | uses CONFIG_OBJCOPY |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 61 | uses CONFIG_CONSOLE_VGA |
| 62 | uses CONFIG_PCI_ROM_RUN |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 63 | uses CONFIG_HW_MEM_HOLE_SIZEK |
| 64 | uses CONFIG_HW_MEM_HOLE_SIZE_AUTO_INC |
| 65 | uses CONFIG_K8_HT_FREQ_1G_SUPPORT |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 66 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 67 | uses CONFIG_HT_CHAIN_UNITID_BASE |
| 68 | uses CONFIG_HT_CHAIN_END_UNITID_BASE |
| 69 | uses CONFIG_SB_HT_CHAIN_ON_BUS0 |
| 70 | uses CONFIG_SB_HT_CHAIN_UNITID_OFFSET_ONLY |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 71 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 72 | uses CONFIG_USE_DCACHE_RAM |
| 73 | uses CONFIG_DCACHE_RAM_BASE |
| 74 | uses CONFIG_DCACHE_RAM_SIZE |
| 75 | uses CONFIG_DCACHE_RAM_GLOBAL_VAR_SIZE |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 76 | uses CONFIG_USE_INIT |
| 77 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 78 | uses CONFIG_SERIAL_CPU_INIT |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 79 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 80 | uses CONFIG_ENABLE_APIC_EXT_ID |
| 81 | uses CONFIG_APIC_ID_OFFSET |
| 82 | uses CONFIG_LIFT_BSP_APIC_ID |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 83 | |
| 84 | uses CONFIG_PCI_64BIT_PREF_MEM |
| 85 | |
| 86 | uses CONFIG_LB_MEM_TOPK |
| 87 | |
| 88 | uses CONFIG_AP_CODE_IN_CAR |
| 89 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 90 | uses CONFIG_MEM_TRAIN_SEQ |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 91 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 92 | uses CONFIG_WAIT_BEFORE_CPUS_INIT |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 93 | |
Yinghai Lu | 5f9624d | 2006-10-04 22:56:21 +0000 | [diff] [blame] | 94 | uses CONFIG_USE_PRINTK_IN_CAR |
| 95 | |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 96 | ### |
| 97 | ### Build options |
| 98 | ### |
| 99 | |
| 100 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 101 | ## CONFIG_ROM_SIZE is the size of boot ROM that this board will use. |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 102 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 103 | default CONFIG_ROM_SIZE=524288 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 104 | |
| 105 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 106 | ## CONFIG_FALLBACK_SIZE is the amount of the ROM the complete fallback image will use |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 107 | ## |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 108 | |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 109 | default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 110 | default CONFIG_FAILOVER_SIZE=0x01000 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 111 | |
| 112 | #more 1M for pgtbl |
| 113 | default CONFIG_LB_MEM_TOPK=2048 |
| 114 | |
| 115 | ## |
| 116 | ## Build code for the fallback boot |
| 117 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 118 | default CONFIG_HAVE_FALLBACK_BOOT=1 |
| 119 | default CONFIG_HAVE_FAILOVER_BOOT=1 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 120 | |
| 121 | ## |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 122 | ## Build code to reset the motherboard from coreboot |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 123 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 124 | default CONFIG_HAVE_HARD_RESET=1 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 125 | |
| 126 | ## |
| 127 | ## Build code to export a programmable irq routing table |
| 128 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 129 | default CONFIG_HAVE_PIRQ_TABLE=1 |
| 130 | default CONFIG_IRQ_SLOT_COUNT=11 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 131 | |
| 132 | ## |
| 133 | ## Build code to export an x86 MP table |
| 134 | ## Useful for specifying IRQ routing values |
| 135 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 136 | default CONFIG_HAVE_MP_TABLE=1 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 137 | |
| 138 | ## ACPI tables will be included |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 139 | default CONFIG_HAVE_ACPI_TABLES=1 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 140 | ## extra SSDT num |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 141 | default CONFIG_ACPI_SSDTX_NUM=1 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 142 | |
| 143 | ## |
| 144 | ## Build code to export a CMOS option table |
| 145 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 146 | default CONFIG_HAVE_OPTION_TABLE=1 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 147 | |
| 148 | ## |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 149 | ## Move the default coreboot cmos range off of AMD RTC registers |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 150 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 151 | default CONFIG_LB_CKS_RANGE_START=49 |
| 152 | default CONFIG_LB_CKS_RANGE_END=122 |
| 153 | default CONFIG_LB_CKS_LOC=123 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 154 | |
| 155 | ## |
| 156 | ## Build code for SMP support |
| 157 | ## Only worry about 2 micro processors |
| 158 | ## |
| 159 | default CONFIG_SMP=1 |
| 160 | default CONFIG_MAX_CPUS=8 |
| 161 | default CONFIG_MAX_PHYSICAL_CPUS=4 |
| 162 | default CONFIG_LOGICAL_CPUS=1 |
| 163 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 164 | default CONFIG_SERIAL_CPU_INIT=0 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 165 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 166 | default CONFIG_ENABLE_APIC_EXT_ID=0 |
| 167 | default CONFIG_APIC_ID_OFFSET=0x8 |
| 168 | default CONFIG_LIFT_BSP_APIC_ID=1 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 169 | |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 170 | #memory hole size, 0 mean disable, others will enable the hole, at that case if it is small than mmio_basek, it will use mmio_basek instead. |
| 171 | #2G |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 172 | #default CONFIG_HW_MEM_HOLE_SIZEK=0x200000 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 173 | #1G |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 174 | default CONFIG_HW_MEM_HOLE_SIZEK=0x100000 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 175 | #512M |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 176 | #default CONFIG_HW_MEM_HOLE_SIZEK=0x80000 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 177 | |
| 178 | #make auto increase hole size to avoid hole_startk equal to basek so as to make some kernel happy |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 179 | #default CONFIG_HW_MEM_HOLE_SIZE_AUTO_INC=1 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 180 | |
| 181 | #Opteron K8 1G HT Support |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 182 | default CONFIG_K8_HT_FREQ_1G_SUPPORT=1 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 183 | |
| 184 | #VGA Console |
| 185 | default CONFIG_CONSOLE_VGA=1 |
| 186 | default CONFIG_PCI_ROM_RUN=1 |
| 187 | |
| 188 | #HT Unit ID offset, default is 1, the typical one |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 189 | default CONFIG_HT_CHAIN_UNITID_BASE=0xa |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 190 | |
| 191 | #real SB Unit ID, default is 0x20, mean dont touch it at last |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 192 | default CONFIG_HT_CHAIN_END_UNITID_BASE=0x6 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 193 | |
| 194 | #make the SB HT chain on bus 0, default is not (0) |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 195 | default CONFIG_SB_HT_CHAIN_ON_BUS0=2 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 196 | |
| 197 | #only offset for SB chain?, default is yes(1) |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 198 | #default CONFIG_SB_HT_CHAIN_UNITID_OFFSET_ONLY=0 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 199 | |
| 200 | #allow capable device use that above 4G |
| 201 | #default CONFIG_PCI_64BIT_PREF_MEM=1 |
| 202 | |
| 203 | ## |
| 204 | ## enable CACHE_AS_RAM specifics |
| 205 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 206 | default CONFIG_USE_DCACHE_RAM=1 |
| 207 | default CONFIG_DCACHE_RAM_BASE=0xc8000 |
| 208 | default CONFIG_DCACHE_RAM_SIZE=0x08000 |
| 209 | default CONFIG_DCACHE_RAM_GLOBAL_VAR_SIZE=0x01000 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 210 | default CONFIG_USE_INIT=0 |
| 211 | |
Yinghai Lu | 5f9624d | 2006-10-04 22:56:21 +0000 | [diff] [blame] | 212 | |
| 213 | ## |
| 214 | ## for rev F training on AP purpose |
| 215 | ## |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 216 | default CONFIG_AP_CODE_IN_CAR=1 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 217 | default CONFIG_MEM_TRAIN_SEQ=1 |
| 218 | default CONFIG_WAIT_BEFORE_CPUS_INIT=1 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 219 | |
| 220 | ## |
| 221 | ## Build code to setup a generic IOAPIC |
| 222 | ## |
| 223 | default CONFIG_IOAPIC=1 |
| 224 | |
| 225 | ## |
| 226 | ## Clean up the motherboard id strings |
| 227 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 228 | default CONFIG_MAINBOARD_PART_NUMBER="serengeti_cheetah" |
| 229 | default CONFIG_MAINBOARD_VENDOR="AMD" |
| 230 | default CONFIG_MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x1022 |
| 231 | default CONFIG_MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x2b80 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 232 | |
| 233 | ### |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 234 | ### coreboot layout values |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 235 | ### |
| 236 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 237 | ## CONFIG_ROM_IMAGE_SIZE is the amount of space to allow coreboot to occupy. |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 238 | default CONFIG_ROM_IMAGE_SIZE = 65536 - CONFIG_FAILOVER_SIZE |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 239 | |
| 240 | ## |
| 241 | ## Use a small 8K stack |
| 242 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 243 | default CONFIG_STACK_SIZE=0x2000 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 244 | |
| 245 | ## |
| 246 | ## Use a small 32K heap |
| 247 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 248 | default CONFIG_HEAP_SIZE=0x8000 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 249 | |
| 250 | ## |
| 251 | ## Only use the option table in a normal image |
| 252 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 253 | default CONFIG_USE_OPTION_TABLE = (!CONFIG_USE_FALLBACK_IMAGE) && (!CONFIG_USE_FAILOVER_IMAGE ) |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 254 | |
| 255 | ## |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 256 | ## Coreboot C code runs at this location in RAM |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 257 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 258 | default CONFIG_RAMBASE=0x00100000 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 259 | |
| 260 | ## |
| 261 | ## Load the payload from the ROM |
| 262 | ## |
Ed Swierk | be13dc7 | 2006-12-15 12:56:28 +0000 | [diff] [blame] | 263 | default CONFIG_ROM_PAYLOAD = 1 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 264 | |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 265 | ### |
| 266 | ### Defaults of options that you may want to override in the target config file |
| 267 | ### |
| 268 | |
| 269 | ## |
| 270 | ## The default compiler |
| 271 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 272 | default CC="$(CONFIG_CROSS_COMPILE)gcc -m32" |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 273 | default HOSTCC="gcc" |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 274 | |
| 275 | ## |
| 276 | ## Disable the gdb stub by default |
| 277 | ## |
| 278 | default CONFIG_GDB_STUB=0 |
| 279 | |
| 280 | ## |
| 281 | ## The Serial Console |
| 282 | ## |
Marc Jones | 2080bd9 | 2008-09-29 22:59:23 +0000 | [diff] [blame] | 283 | default CONFIG_USE_PRINTK_IN_CAR=1 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 284 | |
| 285 | # To Enable the Serial Console |
| 286 | default CONFIG_CONSOLE_SERIAL8250=1 |
| 287 | |
| 288 | ## Select the serial console baud rate |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 289 | default CONFIG_TTYS0_BAUD=115200 |
| 290 | #default CONFIG_TTYS0_BAUD=57600 |
| 291 | #default CONFIG_TTYS0_BAUD=38400 |
| 292 | #default CONFIG_TTYS0_BAUD=19200 |
| 293 | #default CONFIG_TTYS0_BAUD=9600 |
| 294 | #default CONFIG_TTYS0_BAUD=4800 |
| 295 | #default CONFIG_TTYS0_BAUD=2400 |
| 296 | #default CONFIG_TTYS0_BAUD=1200 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 297 | |
| 298 | # Select the serial console base port |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 299 | default CONFIG_TTYS0_BASE=0x3f8 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 300 | |
| 301 | # Select the serial protocol |
| 302 | # This defaults to 8 data bits, 1 stop bit, and no parity |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 303 | default CONFIG_TTYS0_LCS=0x3 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 304 | |
| 305 | ## |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 306 | ### Select the coreboot loglevel |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 307 | ## |
| 308 | ## EMERG 1 system is unusable |
| 309 | ## ALERT 2 action must be taken immediately |
| 310 | ## CRIT 3 critical conditions |
| 311 | ## ERR 4 error conditions |
| 312 | ## WARNING 5 warning conditions |
| 313 | ## NOTICE 6 normal but significant condition |
| 314 | ## INFO 7 informational |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 315 | ## CONFIG_DEBUG 8 debug-level messages |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 316 | ## SPEW 9 Way too many details |
| 317 | |
| 318 | ## Request this level of debugging output |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 319 | default CONFIG_DEFAULT_CONSOLE_LOGLEVEL=8 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 320 | ## At a maximum only compile in this level of debugging |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 321 | default CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=8 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 322 | |
| 323 | ## |
| 324 | ## Select power on after power fail setting |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 325 | default CONFIG_MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON" |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 326 | |
| 327 | ### End Options.lb |
Ronald G. Minnich | d469cda | 2009-03-31 16:32:01 +0000 | [diff] [blame] | 328 | # |
Peter Stuge | 483b7bb | 2009-04-14 07:40:01 +0000 | [diff] [blame] | 329 | # CBFS |
Ronald G. Minnich | d469cda | 2009-03-31 16:32:01 +0000 | [diff] [blame] | 330 | # |
| 331 | # |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 332 | default CONFIG_CBFS=1 |
Yinghai Lu | d4b278c | 2006-10-04 20:46:15 +0000 | [diff] [blame] | 333 | end |