Stefan Reinauer | 425b61e | 2015-03-15 04:29:35 +0100 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2009-2010 coresystems GmbH |
| 5 | ## |
| 6 | ## This program is free software; you can redistribute it and/or modify |
| 7 | ## it under the terms of the GNU General Public License as published by |
| 8 | ## the Free Software Foundation; version 2 of the License. |
| 9 | ## |
| 10 | ## This program is distributed in the hope that it will be useful, |
| 11 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | ## GNU General Public License for more details. |
| 14 | ## |
| 15 | |
Stefan Reinauer | a48ca84 | 2015-04-04 01:58:28 +0200 | [diff] [blame] | 16 | config ARCH_X86 |
| 17 | bool |
| 18 | default n |
| 19 | select PCI |
| 20 | |
Stefan Reinauer | 6867120 | 2015-03-15 04:34:03 +0100 | [diff] [blame] | 21 | # stage selectors for x86 |
| 22 | |
Furquan Shaikh | 99ac98f | 2014-04-23 10:18:48 -0700 | [diff] [blame] | 23 | config ARCH_BOOTBLOCK_X86_32 |
Gabe Black | 5fbfc91 | 2013-07-07 13:52:37 -0700 | [diff] [blame] | 24 | bool |
Furquan Shaikh | 99ac98f | 2014-04-23 10:18:48 -0700 | [diff] [blame] | 25 | default n |
| 26 | select ARCH_X86 |
Julius Werner | 86fc11d | 2015-10-09 13:37:58 -0700 | [diff] [blame^] | 27 | select BOOTBLOCK_CUSTOM |
Furquan Shaikh | 99ac98f | 2014-04-23 10:18:48 -0700 | [diff] [blame] | 28 | |
Stefan Reinauer | 77b1655 | 2015-01-14 19:51:47 +0100 | [diff] [blame] | 29 | config ARCH_VERSTAGE_X86_32 |
| 30 | bool |
| 31 | default n |
| 32 | |
Furquan Shaikh | 99ac98f | 2014-04-23 10:18:48 -0700 | [diff] [blame] | 33 | config ARCH_ROMSTAGE_X86_32 |
| 34 | bool |
| 35 | default n |
| 36 | |
| 37 | config ARCH_RAMSTAGE_X86_32 |
| 38 | bool |
| 39 | default n |
Gabe Black | 5fbfc91 | 2013-07-07 13:52:37 -0700 | [diff] [blame] | 40 | |
Stefan Reinauer | 6867120 | 2015-03-15 04:34:03 +0100 | [diff] [blame] | 41 | # stage selectors for x64 |
| 42 | |
| 43 | config ARCH_BOOTBLOCK_X86_64 |
| 44 | bool |
| 45 | default n |
| 46 | select ARCH_X86 |
Julius Werner | 86fc11d | 2015-10-09 13:37:58 -0700 | [diff] [blame^] | 47 | select BOOTBLOCK_CUSTOM |
Stefan Reinauer | 6867120 | 2015-03-15 04:34:03 +0100 | [diff] [blame] | 48 | |
| 49 | config ARCH_VERSTAGE_X86_64 |
| 50 | bool |
| 51 | default n |
| 52 | |
| 53 | config ARCH_ROMSTAGE_X86_64 |
| 54 | bool |
| 55 | default n |
| 56 | |
| 57 | config ARCH_RAMSTAGE_X86_64 |
| 58 | bool |
| 59 | default n |
| 60 | |
Uwe Hermann | 168b11b | 2009-10-07 16:15:40 +0000 | [diff] [blame] | 61 | # This is an SMP option. It relates to starting up APs. |
| 62 | # It is usually set in mainboard/*/Kconfig. |
| 63 | # TODO: Improve description. |
Sven Schnelle | 51676b1 | 2012-07-29 19:18:03 +0200 | [diff] [blame] | 64 | config AP_IN_SIPI_WAIT |
| 65 | bool |
| 66 | default n |
Stefan Reinauer | 2a6f390 | 2012-10-15 13:38:09 -0700 | [diff] [blame] | 67 | depends on ARCH_X86 && SMP |
Ronald G. Minnich | 6ed39d9 | 2009-08-29 02:59:35 +0000 | [diff] [blame] | 68 | |
Kyösti Mälkki | f8c7c23 | 2012-04-06 04:03:50 +0300 | [diff] [blame] | 69 | # Aligns 16bit entry code in bootblock so that hyper-threading CPUs |
| 70 | # can boot AP CPUs to enable their shared caches. |
| 71 | config SIPI_VECTOR_IN_ROM |
| 72 | bool |
| 73 | default n |
| 74 | depends on ARCH_X86 |
| 75 | |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 76 | config RAMBASE |
| 77 | hex |
| 78 | default 0x100000 |
| 79 | |
Ronald G. Minnich | b5e777c | 2013-07-22 20:17:18 +0200 | [diff] [blame] | 80 | # This is something you almost certainly don't want to mess with. |
| 81 | # How many SIPIs do we send when starting up APs and cores? |
| 82 | # The answer in 2000 or so was '2'. Nowadays, on many systems, |
| 83 | # it is 1. Set a safe default here, and you can override it |
| 84 | # on reasonable platforms. |
| 85 | config NUM_IPI_STARTS |
| 86 | int |
| 87 | default 2 |
| 88 | |
Patrick Georgi | 2063197a | 2010-02-09 12:21:10 +0000 | [diff] [blame] | 89 | config ROMCC |
| 90 | bool |
| 91 | default n |
| 92 | |
Kyösti Mälkki | 91fac61 | 2014-12-31 20:55:19 +0200 | [diff] [blame] | 93 | config LATE_CBMEM_INIT |
| 94 | def_bool n |
Kyösti Mälkki | 91fac61 | 2014-12-31 20:55:19 +0200 | [diff] [blame] | 95 | help |
| 96 | Enable this in chipset's Kconfig if northbridge does not implement |
| 97 | early get_top_of_ram() call for romstage. CBMEM tables will be |
| 98 | allocated late in ramstage, after PCI devices resources are known. |
| 99 | |
Stefan Reinauer | 8aedcbc | 2010-12-16 23:37:17 +0000 | [diff] [blame] | 100 | config PC80_SYSTEM |
| 101 | bool |
Furquan Shaikh | 99ac98f | 2014-04-23 10:18:48 -0700 | [diff] [blame] | 102 | default y if ARCH_X86 |
Stefan Reinauer | 8aedcbc | 2010-12-16 23:37:17 +0000 | [diff] [blame] | 103 | |
Kyösti Mälkki | 48e21ec | 2012-11-14 08:08:50 +0200 | [diff] [blame] | 104 | config BOOTBLOCK_MAINBOARD_INIT |
| 105 | string |
| 106 | |
Patrick Georgi | 1bb6828 | 2009-12-31 12:56:53 +0000 | [diff] [blame] | 107 | config BOOTBLOCK_NORTHBRIDGE_INIT |
| 108 | string |
| 109 | |
Lee Leahy | 5f31f49 | 2015-02-09 21:09:49 -0800 | [diff] [blame] | 110 | config BOOTBLOCK_RESETS |
| 111 | string |
| 112 | |
Patrick Georgi | a865b17 | 2011-01-14 07:40:24 +0000 | [diff] [blame] | 113 | config HAVE_CMOS_DEFAULT |
| 114 | def_bool n |
| 115 | |
| 116 | config CMOS_DEFAULT_FILE |
| 117 | string |
Denis 'GNUtoo' Carikli | 29a4355 | 2013-05-28 13:46:12 +0200 | [diff] [blame] | 118 | default "src/mainboard/$(MAINBOARDDIR)/cmos.default" |
Patrick Georgi | a865b17 | 2011-01-14 07:40:24 +0000 | [diff] [blame] | 119 | depends on HAVE_CMOS_DEFAULT |
| 120 | |
Patrick Georgi | 1bb6828 | 2009-12-31 12:56:53 +0000 | [diff] [blame] | 121 | config BOOTBLOCK_SOUTHBRIDGE_INIT |
| 122 | string |
Stefan Reinauer | 1b34226 | 2011-01-05 02:27:53 +0000 | [diff] [blame] | 123 | |
Patrick Georgi | d4d5e4d | 2012-03-16 19:28:15 +0100 | [diff] [blame] | 124 | config IOAPIC_INTERRUPTS_ON_FSB |
| 125 | bool |
| 126 | default y if !IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS |
| 127 | |
| 128 | config IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS |
| 129 | bool |
| 130 | default n |
| 131 | |
Patrick Georgi | 9aeb694 | 2012-10-05 21:54:38 +0200 | [diff] [blame] | 132 | config HPET_ADDRESS |
| 133 | hex |
| 134 | default 0xfed00000 if !HPET_ADDRESS_OVERRIDE |
| 135 | |
Stefan Reinauer | 8483344 | 2012-11-13 15:04:12 -0800 | [diff] [blame] | 136 | config ID_SECTION_OFFSET |
| 137 | hex |
| 138 | default 0x80 |
Patrick Georgi | c32a52c | 2015-06-22 21:10:34 +0200 | [diff] [blame] | 139 | |
| 140 | config COMPILE_IN_DSDT |
| 141 | bool "compile in DSDT and use that over DSDT in CBFS" |
| 142 | default n |