- Fix shortcoming in Kconfig when handling multiple "choice"s
[coreboot.git] / src / arch / x86 / Kconfig
1 # This is an SMP option. It relates to starting up APs.
2 # It is usually set in mainboard/*/Kconfig.
3 # TODO: Improve description.
4 config AP_IN_SIPI_WAIT
5         bool
6         default n
7         depends on ARCH_X86
8
9 # This is the name of the respective architecture subdirectory in arch/.
10 config ARCH
11         string
12         default i386
13         depends on ARCH_X86
14
15 config ROMBASE
16         hex
17         default 0xffff0000
18
19 config ROM_IMAGE_SIZE
20         hex
21         default 0x10000
22
23 config RAMBASE
24         hex
25         default 0x100000
26
27 config RAMTOP
28         hex
29         default 0x200000
30
31 config STACK_SIZE
32         hex
33         default 0x8000
34
35 # Maximum reboot count
36 # TODO: Improve description.
37 config MAX_REBOOT_CNT
38         int
39         default 3
40
41 config TINY_BOOTBLOCK
42         bool
43         default n
44
45 config BIG_BOOTBLOCK
46         bool
47         default n if TINY_BOOTBLOCK
48         default y
49
50 # We had to rename the choice options under arch/ because otherwise
51 # the options would conflict between different architectures despite
52 # the if ARCH_xxx guarding the arch/xxx/Kconfig sourcing.
53 choice
54         prompt "Bootblock behaviour"
55         default X86_BOOTBLOCK_SIMPLE
56         depends on TINY_BOOTBLOCK
57
58 config X86_BOOTBLOCK_SIMPLE
59         bool "Always load fallback"
60
61 config X86_BOOTBLOCK_NORMAL
62         bool "Switch to normal if CMOS says so"
63
64 endchoice
65
66 config BOOTBLOCK_SOURCE
67         string
68         default "bootblock_simple.c" if X86_BOOTBLOCK_SIMPLE
69         default "bootblock_normal.c" if X86_BOOTBLOCK_NORMAL
70
71 config UPDATE_IMAGE
72         bool "Update existing coreboot.rom image"
73         default n
74         depends on TINY_BOOTBLOCK
75         help
76           If this option is enabled, no new coreboot.rom file
77           is created. Instead it is expected that there already
78           is a suitable file for further processing.
79           The bootblock will not be modified.
80
81 config ROMCC
82         bool
83         default n
84
85 config PC80_SYSTEM
86         bool
87         default y
88
89 config BOOTBLOCK_NORTHBRIDGE_INIT
90         string
91
92 config BOOTBLOCK_SOUTHBRIDGE_INIT
93         string