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