blob: 5f46145f8e1515488ae5e969e09cdd95dcc3aad0 [file] [log] [blame]
Stefan Reinauer1b342262011-01-05 02:27:53 +00001menu "Architecture (x86)"
2
Uwe Hermann168b11b2009-10-07 16:15:40 +00003# This is an SMP option. It relates to starting up APs.
4# It is usually set in mainboard/*/Kconfig.
5# TODO: Improve description.
Sven Schnelle51676b12012-07-29 19:18:03 +02006config AP_IN_SIPI_WAIT
7 bool
8 default n
Stefan Reinauer2a6f3902012-10-15 13:38:09 -07009 depends on ARCH_X86 && SMP
Ronald G. Minnich6ed39d92009-08-29 02:59:35 +000010
Kyösti Mälkkif8c7c232012-04-06 04:03:50 +030011# Aligns 16bit entry code in bootblock so that hyper-threading CPUs
12# can boot AP CPUs to enable their shared caches.
13config SIPI_VECTOR_IN_ROM
14 bool
15 default n
16 depends on ARCH_X86
17
Patrick Georgi0588d192009-08-12 15:00:51 +000018config RAMBASE
19 hex
20 default 0x100000
21
Stefan Reinauer523ebd92010-04-14 18:59:42 +000022config RAMTOP
23 hex
24 default 0x200000
25
Patrick Georgi0588d192009-08-12 15:00:51 +000026config STACK_SIZE
27 hex
Stefan Reinauer9c039572012-10-15 13:39:00 -070028 default 0x1000
Patrick Georgi0588d192009-08-12 15:00:51 +000029
Uwe Hermann168b11b2009-10-07 16:15:40 +000030# Maximum reboot count
31# TODO: Improve description.
Patrick Georgi0588d192009-08-12 15:00:51 +000032config MAX_REBOOT_CNT
Uwe Hermann168b11b2009-10-07 16:15:40 +000033 int
Patrick Georgi0588d192009-08-12 15:00:51 +000034 default 3
35
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +000036# We had to rename the choice options under arch/ because otherwise
37# the options would conflict between different architectures despite
38# the if ARCH_xxx guarding the arch/xxx/Kconfig sourcing.
Patrick Georgic9fa96d2010-02-24 13:58:23 +000039choice
40 prompt "Bootblock behaviour"
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +000041 default X86_BOOTBLOCK_SIMPLE
Patrick Georgic9fa96d2010-02-24 13:58:23 +000042
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +000043config X86_BOOTBLOCK_SIMPLE
Patrick Georgic9fa96d2010-02-24 13:58:23 +000044 bool "Always load fallback"
45
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +000046config X86_BOOTBLOCK_NORMAL
Patrick Georgic9fa96d2010-02-24 13:58:23 +000047 bool "Switch to normal if CMOS says so"
48
49endchoice
50
51config BOOTBLOCK_SOURCE
52 string
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +000053 default "bootblock_simple.c" if X86_BOOTBLOCK_SIMPLE
54 default "bootblock_normal.c" if X86_BOOTBLOCK_NORMAL
Patrick Georgic9fa96d2010-02-24 13:58:23 +000055
Patrick Georgi967952a2010-02-09 19:41:11 +000056config UPDATE_IMAGE
57 bool "Update existing coreboot.rom image"
58 default n
Patrick Georgi967952a2010-02-09 19:41:11 +000059 help
Uwe Hermann16db6c32010-09-23 18:48:27 +000060 If this option is enabled, no new coreboot.rom file
61 is created. Instead it is expected that there already
62 is a suitable file for further processing.
63 The bootblock will not be modified.
Patrick Georgi967952a2010-02-09 19:41:11 +000064
Patrick Georgi2063197a2010-02-09 12:21:10 +000065config ROMCC
66 bool
67 default n
68
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +000069config PC80_SYSTEM
70 bool
71 default y
72
Kyösti Mälkki48e21ec2012-11-14 08:08:50 +020073config BOOTBLOCK_MAINBOARD_INIT
74 string
75
Patrick Georgi1bb68282009-12-31 12:56:53 +000076config BOOTBLOCK_NORTHBRIDGE_INIT
77 string
78
Patrick Georgia865b172011-01-14 07:40:24 +000079config HAVE_CMOS_DEFAULT
80 def_bool n
81
82config CMOS_DEFAULT_FILE
83 string
84 depends on HAVE_CMOS_DEFAULT
85
Patrick Georgi1bb68282009-12-31 12:56:53 +000086config BOOTBLOCK_SOUTHBRIDGE_INIT
87 string
Stefan Reinauer1b342262011-01-05 02:27:53 +000088
Stefan Reinauer1afe51a2011-10-26 22:11:52 +000089config HAVE_ARCH_MEMSET
90 bool
91 default y
92
Stefan Reinauer0054afa2011-10-25 23:43:34 +000093config HAVE_ARCH_MEMCPY
94 bool
95 default y
96
Stefan Reinauer3e4fb9d2011-04-21 21:26:58 +000097config BIG_ENDIAN
98 bool
99 default n
100
101config LITTLE_ENDIAN
102 bool
103 default !BIG_ENDIAN
104
Patrick Georgid4d5e4d2012-03-16 19:28:15 +0100105config IOAPIC_INTERRUPTS_ON_FSB
106 bool
107 default y if !IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS
108
109config IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS
110 bool
111 default n
112
Stefan Reinauer5e02bc62011-11-17 13:05:31 -0800113config PCI_CONF2
114 bool
115 default n
116
Patrick Georgi9aeb6942012-10-05 21:54:38 +0200117config HPET_ADDRESS
118 hex
119 default 0xfed00000 if !HPET_ADDRESS_OVERRIDE
120
Stefan Reinauer84833442012-11-13 15:04:12 -0800121config ID_SECTION_OFFSET
122 hex
123 default 0x80
124
Stefan Reinauer1b342262011-01-05 02:27:53 +0000125endmenu