blob: 738e7d1c0a958aa4781e288dfccca49b57707037 [file] [log] [blame]
Stefan Reinauer425b61e2015-03-15 04:29:35 +01001##
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 Reinauera48ca842015-04-04 01:58:28 +020016config ARCH_X86
17 bool
18 default n
19 select PCI
20
Stefan Reinauer68671202015-03-15 04:34:03 +010021# stage selectors for x86
22
Furquan Shaikh99ac98f2014-04-23 10:18:48 -070023config ARCH_BOOTBLOCK_X86_32
Gabe Black5fbfc912013-07-07 13:52:37 -070024 bool
Furquan Shaikh99ac98f2014-04-23 10:18:48 -070025 default n
26 select ARCH_X86
Julius Werner86fc11d2015-10-09 13:37:58 -070027 select BOOTBLOCK_CUSTOM
Furquan Shaikh99ac98f2014-04-23 10:18:48 -070028
Stefan Reinauer77b16552015-01-14 19:51:47 +010029config ARCH_VERSTAGE_X86_32
30 bool
31 default n
32
Furquan Shaikh99ac98f2014-04-23 10:18:48 -070033config ARCH_ROMSTAGE_X86_32
34 bool
35 default n
36
37config ARCH_RAMSTAGE_X86_32
38 bool
39 default n
Gabe Black5fbfc912013-07-07 13:52:37 -070040
Stefan Reinauer68671202015-03-15 04:34:03 +010041# stage selectors for x64
42
43config ARCH_BOOTBLOCK_X86_64
44 bool
45 default n
46 select ARCH_X86
Julius Werner86fc11d2015-10-09 13:37:58 -070047 select BOOTBLOCK_CUSTOM
Stefan Reinauer68671202015-03-15 04:34:03 +010048
49config ARCH_VERSTAGE_X86_64
50 bool
51 default n
52
53config ARCH_ROMSTAGE_X86_64
54 bool
55 default n
56
57config ARCH_RAMSTAGE_X86_64
58 bool
59 default n
60
Uwe Hermann168b11b2009-10-07 16:15:40 +000061# This is an SMP option. It relates to starting up APs.
62# It is usually set in mainboard/*/Kconfig.
63# TODO: Improve description.
Sven Schnelle51676b12012-07-29 19:18:03 +020064config AP_IN_SIPI_WAIT
65 bool
66 default n
Stefan Reinauer2a6f3902012-10-15 13:38:09 -070067 depends on ARCH_X86 && SMP
Ronald G. Minnich6ed39d92009-08-29 02:59:35 +000068
Kyösti Mälkkif8c7c232012-04-06 04:03:50 +030069# Aligns 16bit entry code in bootblock so that hyper-threading CPUs
70# can boot AP CPUs to enable their shared caches.
71config SIPI_VECTOR_IN_ROM
72 bool
73 default n
74 depends on ARCH_X86
75
Patrick Georgi0588d192009-08-12 15:00:51 +000076config RAMBASE
77 hex
78 default 0x100000
79
Ronald G. Minnichb5e777c2013-07-22 20:17:18 +020080# 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.
85config NUM_IPI_STARTS
86 int
87 default 2
88
Patrick Georgi2063197a2010-02-09 12:21:10 +000089config ROMCC
90 bool
91 default n
92
Kyösti Mälkki91fac612014-12-31 20:55:19 +020093config LATE_CBMEM_INIT
94 def_bool n
Kyösti Mälkki91fac612014-12-31 20:55:19 +020095 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 Reinauer8aedcbc2010-12-16 23:37:17 +0000100config PC80_SYSTEM
101 bool
Furquan Shaikh99ac98f2014-04-23 10:18:48 -0700102 default y if ARCH_X86
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +0000103
Kyösti Mälkki48e21ec2012-11-14 08:08:50 +0200104config BOOTBLOCK_MAINBOARD_INIT
105 string
106
Patrick Georgi1bb68282009-12-31 12:56:53 +0000107config BOOTBLOCK_NORTHBRIDGE_INIT
108 string
109
Lee Leahy5f31f492015-02-09 21:09:49 -0800110config BOOTBLOCK_RESETS
111 string
112
Patrick Georgia865b172011-01-14 07:40:24 +0000113config HAVE_CMOS_DEFAULT
114 def_bool n
115
116config CMOS_DEFAULT_FILE
117 string
Denis 'GNUtoo' Carikli29a43552013-05-28 13:46:12 +0200118 default "src/mainboard/$(MAINBOARDDIR)/cmos.default"
Patrick Georgia865b172011-01-14 07:40:24 +0000119 depends on HAVE_CMOS_DEFAULT
120
Patrick Georgi1bb68282009-12-31 12:56:53 +0000121config BOOTBLOCK_SOUTHBRIDGE_INIT
122 string
Stefan Reinauer1b342262011-01-05 02:27:53 +0000123
Patrick Georgid4d5e4d2012-03-16 19:28:15 +0100124config IOAPIC_INTERRUPTS_ON_FSB
125 bool
126 default y if !IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS
127
128config IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS
129 bool
130 default n
131
Patrick Georgi9aeb6942012-10-05 21:54:38 +0200132config HPET_ADDRESS
133 hex
134 default 0xfed00000 if !HPET_ADDRESS_OVERRIDE
135
Stefan Reinauer84833442012-11-13 15:04:12 -0800136config ID_SECTION_OFFSET
137 hex
138 default 0x80
Patrick Georgic32a52c2015-06-22 21:10:34 +0200139
140config COMPILE_IN_DSDT
141 bool "compile in DSDT and use that over DSDT in CBFS"
142 default n