more ifdef -> if fixes.
[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 config ROMBASE
12         hex
13         default 0xffff0000
14
15 config RAMBASE
16         hex
17         default 0x100000
18
19 config RAMTOP
20         hex
21         default 0x200000
22
23 config STACK_SIZE
24         hex
25         default 0x8000
26
27 # Maximum reboot count
28 # TODO: Improve description.
29 config MAX_REBOOT_CNT
30         int
31         default 3
32
33 config TINY_BOOTBLOCK
34         bool
35         default n
36
37 config BIG_BOOTBLOCK
38         bool
39         default n if TINY_BOOTBLOCK
40         default y
41
42 # We had to rename the choice options under arch/ because otherwise
43 # the options would conflict between different architectures despite
44 # the if ARCH_xxx guarding the arch/xxx/Kconfig sourcing.
45 choice
46         prompt "Bootblock behaviour"
47         default X86_BOOTBLOCK_SIMPLE
48         depends on TINY_BOOTBLOCK
49
50 config X86_BOOTBLOCK_SIMPLE
51         bool "Always load fallback"
52
53 config X86_BOOTBLOCK_NORMAL
54         bool "Switch to normal if CMOS says so"
55
56 endchoice
57
58 config BOOTBLOCK_SOURCE
59         string
60         default "bootblock_simple.c" if X86_BOOTBLOCK_SIMPLE
61         default "bootblock_normal.c" if X86_BOOTBLOCK_NORMAL
62
63 config UPDATE_IMAGE
64         bool "Update existing coreboot.rom image"
65         default n
66         depends on TINY_BOOTBLOCK
67         help
68           If this option is enabled, no new coreboot.rom file
69           is created. Instead it is expected that there already
70           is a suitable file for further processing.
71           The bootblock will not be modified.
72
73 config ROMCC
74         bool
75         default n
76
77 config PC80_SYSTEM
78         bool
79         default y
80
81 config BOOTBLOCK_NORTHBRIDGE_INIT
82         string
83
84 config HAVE_CMOS_DEFAULT
85         def_bool n
86
87 config CMOS_DEFAULT_FILE
88         string
89         depends on HAVE_CMOS_DEFAULT
90
91 config BOOTBLOCK_SOUTHBRIDGE_INIT
92         string
93
94 config BIG_ENDIAN
95         bool
96         default n
97
98 config LITTLE_ENDIAN
99         bool
100         default !BIG_ENDIAN
101
102 endmenu