64c96d7a64c91bf8be4969c266d60d125e11e35d
[coreboot.git] / src / arch / i386 / Kconfig
1 # This option is used to set the architecture of a mainboard to X86.
2 # It is usually set in mainboard/*/Kconfig.
3 config ARCH_X86
4         bool
5         default n
6
7 # This is an SMP option. It relates to starting up APs.
8 # It is usually set in mainboard/*/Kconfig.
9 # TODO: Improve description.
10 config AP_IN_SIPI_WAIT
11         bool
12         default n
13         depends on ARCH_X86
14
15 # This is the name of the respective architecture subdirectory in arch/.
16 config ARCH
17         string
18         default i386
19         depends on ARCH_X86
20
21 config ROMBASE
22         hex
23         default 0xffc00000 if COREBOOT_ROMSIZE_KB_4096
24         default 0xffe00000 if COREBOOT_ROMSIZE_KB_2048
25         default 0xfff00000 if COREBOOT_ROMSIZE_KB_1024
26         default 0xfff80000 if COREBOOT_ROMSIZE_KB_512
27         default 0xfffc0000 if COREBOOT_ROMSIZE_KB_256
28         default 0xfffe0000 if COREBOOT_ROMSIZE_KB_128
29
30 config PAYLOAD_SIZE
31         hex
32         default 0x0
33
34 config ROM_PAYLOAD_START
35         hex
36         default 0xffc00000 if COREBOOT_ROMSIZE_KB_4096
37         default 0xffe00000 if COREBOOT_ROMSIZE_KB_2048
38         default 0xfff00000 if COREBOOT_ROMSIZE_KB_1024
39         default 0xfff80000 if COREBOOT_ROMSIZE_KB_512
40         default 0xfffc0000 if COREBOOT_ROMSIZE_KB_256
41         default 0xfffe0000 if COREBOOT_ROMSIZE_KB_128
42
43 config ROM_IMAGE_SIZE
44         hex
45         default 0x400000 if COREBOOT_ROMSIZE_KB_4096
46         default 0x200000 if COREBOOT_ROMSIZE_KB_2048
47         default 0x100000 if COREBOOT_ROMSIZE_KB_1024
48         default 0x80000 if COREBOOT_ROMSIZE_KB_512
49         default 0x40000 if COREBOOT_ROMSIZE_KB_256
50         default 0x20000 if COREBOOT_ROMSIZE_KB_128
51
52 config RAMBASE
53         hex
54         default 0x100000
55
56 config STACK_SIZE
57         hex
58         default 0x8000
59
60 # Maximum reboot count
61 # TODO: Improve description.
62 config MAX_REBOOT_CNT
63         int
64         default 3
65