blob: 4dfbe702802d2e9bd25dd7236b6fcb9692e5ced4 [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.
Ronald G. Minnich6ed39d92009-08-29 02:59:35 +00006
Kyösti Mälkkif8c7c232012-04-06 04:03:50 +03007# Aligns 16bit entry code in bootblock so that hyper-threading CPUs
8# can boot AP CPUs to enable their shared caches.
9config SIPI_VECTOR_IN_ROM
10 bool
11 default n
12 depends on ARCH_X86
13
Patrick Georgi0588d192009-08-12 15:00:51 +000014config RAMBASE
15 hex
16 default 0x100000
17
Stefan Reinauer523ebd92010-04-14 18:59:42 +000018config RAMTOP
19 hex
20 default 0x200000
21
Patrick Georgi0588d192009-08-12 15:00:51 +000022config STACK_SIZE
23 hex
24 default 0x8000
25
Uwe Hermann168b11b2009-10-07 16:15:40 +000026# Maximum reboot count
27# TODO: Improve description.
Patrick Georgi0588d192009-08-12 15:00:51 +000028config MAX_REBOOT_CNT
Uwe Hermann168b11b2009-10-07 16:15:40 +000029 int
Patrick Georgi0588d192009-08-12 15:00:51 +000030 default 3
31
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +000032# We had to rename the choice options under arch/ because otherwise
33# the options would conflict between different architectures despite
34# the if ARCH_xxx guarding the arch/xxx/Kconfig sourcing.
Patrick Georgic9fa96d2010-02-24 13:58:23 +000035choice
36 prompt "Bootblock behaviour"
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +000037 default X86_BOOTBLOCK_SIMPLE
Patrick Georgic9fa96d2010-02-24 13:58:23 +000038
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +000039config X86_BOOTBLOCK_SIMPLE
Patrick Georgic9fa96d2010-02-24 13:58:23 +000040 bool "Always load fallback"
41
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +000042config X86_BOOTBLOCK_NORMAL
Patrick Georgic9fa96d2010-02-24 13:58:23 +000043 bool "Switch to normal if CMOS says so"
44
45endchoice
46
47config BOOTBLOCK_SOURCE
48 string
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +000049 default "bootblock_simple.c" if X86_BOOTBLOCK_SIMPLE
50 default "bootblock_normal.c" if X86_BOOTBLOCK_NORMAL
Patrick Georgic9fa96d2010-02-24 13:58:23 +000051
Patrick Georgi967952a2010-02-09 19:41:11 +000052config UPDATE_IMAGE
53 bool "Update existing coreboot.rom image"
54 default n
Patrick Georgi967952a2010-02-09 19:41:11 +000055 help
Uwe Hermann16db6c32010-09-23 18:48:27 +000056 If this option is enabled, no new coreboot.rom file
57 is created. Instead it is expected that there already
58 is a suitable file for further processing.
59 The bootblock will not be modified.
Patrick Georgi967952a2010-02-09 19:41:11 +000060
Patrick Georgi2063197a2010-02-09 12:21:10 +000061config ROMCC
62 bool
63 default n
64
Stefan Reinauer8aedcbc2010-12-16 23:37:17 +000065config PC80_SYSTEM
66 bool
67 default y
68
Patrick Georgi1bb68282009-12-31 12:56:53 +000069config BOOTBLOCK_NORTHBRIDGE_INIT
70 string
71
Patrick Georgia865b172011-01-14 07:40:24 +000072config HAVE_CMOS_DEFAULT
73 def_bool n
74
75config CMOS_DEFAULT_FILE
76 string
77 depends on HAVE_CMOS_DEFAULT
78
Patrick Georgi1bb68282009-12-31 12:56:53 +000079config BOOTBLOCK_SOUTHBRIDGE_INIT
80 string
Stefan Reinauer1b342262011-01-05 02:27:53 +000081
Stefan Reinauer1afe51a2011-10-26 22:11:52 +000082config HAVE_ARCH_MEMSET
83 bool
84 default y
85
Stefan Reinauer0054afa2011-10-25 23:43:34 +000086config HAVE_ARCH_MEMCPY
87 bool
88 default y
89
Stefan Reinauer3e4fb9d2011-04-21 21:26:58 +000090config BIG_ENDIAN
91 bool
92 default n
93
94config LITTLE_ENDIAN
95 bool
96 default !BIG_ENDIAN
97
Patrick Georgid4d5e4d2012-03-16 19:28:15 +010098config IOAPIC_INTERRUPTS_ON_FSB
99 bool
100 default y if !IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS
101
102config IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS
103 bool
104 default n
105
Stefan Reinauer5e02bc62011-11-17 13:05:31 -0800106config PCI_CONF2
107 bool
108 default n
109
Stefan Reinauer1b342262011-01-05 02:27:53 +0000110endmenu