summaryrefslogtreecommitdiff
path: root/src/arch/i386/Kconfig
blob: 64c96d7a64c91bf8be4969c266d60d125e11e35d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# This option is used to set the architecture of a mainboard to X86.
# It is usually set in mainboard/*/Kconfig.
config ARCH_X86
	bool
	default n

# This is an SMP option. It relates to starting up APs.
# It is usually set in mainboard/*/Kconfig.
# TODO: Improve description.
config AP_IN_SIPI_WAIT
	bool
	default n
	depends on ARCH_X86

# This is the name of the respective architecture subdirectory in arch/.
config ARCH
	string
	default i386
	depends on ARCH_X86

config ROMBASE
	hex
	default 0xffc00000 if COREBOOT_ROMSIZE_KB_4096
	default 0xffe00000 if COREBOOT_ROMSIZE_KB_2048
	default 0xfff00000 if COREBOOT_ROMSIZE_KB_1024
	default 0xfff80000 if COREBOOT_ROMSIZE_KB_512
	default 0xfffc0000 if COREBOOT_ROMSIZE_KB_256
	default 0xfffe0000 if COREBOOT_ROMSIZE_KB_128

config PAYLOAD_SIZE
	hex
	default 0x0

config ROM_PAYLOAD_START
	hex
	default 0xffc00000 if COREBOOT_ROMSIZE_KB_4096
	default 0xffe00000 if COREBOOT_ROMSIZE_KB_2048
	default 0xfff00000 if COREBOOT_ROMSIZE_KB_1024
	default 0xfff80000 if COREBOOT_ROMSIZE_KB_512
	default 0xfffc0000 if COREBOOT_ROMSIZE_KB_256
	default 0xfffe0000 if COREBOOT_ROMSIZE_KB_128

config ROM_IMAGE_SIZE
	hex
	default 0x400000 if COREBOOT_ROMSIZE_KB_4096
	default 0x200000 if COREBOOT_ROMSIZE_KB_2048
	default 0x100000 if COREBOOT_ROMSIZE_KB_1024
	default 0x80000 if COREBOOT_ROMSIZE_KB_512
	default 0x40000 if COREBOOT_ROMSIZE_KB_256
	default 0x20000 if COREBOOT_ROMSIZE_KB_128

config RAMBASE
	hex
	default 0x100000

config STACK_SIZE
	hex
	default 0x8000

# Maximum reboot count
# TODO: Improve description.
config MAX_REBOOT_CNT
	int
	default 3