1 comment "Important: Run 'make distclean' before switching boards"
4 prompt "Mainboard vendor"
5 default VENDOR_EMULATION
7 source "src/mainboard/*/Kconfig.name"
11 source "src/mainboard/*/Kconfig"
13 comment "WARNING: This mainboard uses LATE_CBMEM_INIT, which is deprecated"
14 depends on LATE_CBMEM_INIT
16 config BOARD_ROMSIZE_KB_64
18 config BOARD_ROMSIZE_KB_128
20 config BOARD_ROMSIZE_KB_256
22 config BOARD_ROMSIZE_KB_512
24 config BOARD_ROMSIZE_KB_1024
26 config BOARD_ROMSIZE_KB_2048
28 config BOARD_ROMSIZE_KB_4096
30 config BOARD_ROMSIZE_KB_8192
32 config BOARD_ROMSIZE_KB_10240
34 config BOARD_ROMSIZE_KB_12288
36 config BOARD_ROMSIZE_KB_16384
38 config BOARD_ROMSIZE_KB_32768
40 config BOARD_ROMSIZE_KB_65536
43 # TODO: No help text possible for choice fields?
45 prompt "ROM chip size"
46 default COREBOOT_ROMSIZE_KB_64 if BOARD_ROMSIZE_KB_64
47 default COREBOOT_ROMSIZE_KB_128 if BOARD_ROMSIZE_KB_128
48 default COREBOOT_ROMSIZE_KB_256 if BOARD_ROMSIZE_KB_256
49 default COREBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512
50 default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
51 default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
52 default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
53 default COREBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192
54 default COREBOOT_ROMSIZE_KB_10240 if BOARD_ROMSIZE_KB_10240
55 default COREBOOT_ROMSIZE_KB_12288 if BOARD_ROMSIZE_KB_12288
56 default COREBOOT_ROMSIZE_KB_16384 if BOARD_ROMSIZE_KB_16384
57 default COREBOOT_ROMSIZE_KB_32768 if BOARD_ROMSIZE_KB_32768
58 default COREBOOT_ROMSIZE_KB_65536 if BOARD_ROMSIZE_KB_65536
60 Select the size of the ROM chip you intend to flash coreboot on.
62 The build system will take care of creating a coreboot.rom file
65 config COREBOOT_ROMSIZE_KB_64
68 Choose this option if you have a 64 KB ROM chip.
70 config COREBOOT_ROMSIZE_KB_128
73 Choose this option if you have a 128 KB ROM chip.
75 config COREBOOT_ROMSIZE_KB_256
78 Choose this option if you have a 256 KB ROM chip.
80 config COREBOOT_ROMSIZE_KB_512
83 Choose this option if you have a 512 KB ROM chip.
85 config COREBOOT_ROMSIZE_KB_1024
88 Choose this option if you have a 1024 KB (1 MB) ROM chip.
90 config COREBOOT_ROMSIZE_KB_2048
93 Choose this option if you have a 2048 KB (2 MB) ROM chip.
95 config COREBOOT_ROMSIZE_KB_4096
98 Choose this option if you have a 4096 KB (4 MB) ROM chip.
100 config COREBOOT_ROMSIZE_KB_8192
101 bool "8192 KB (8 MB)"
103 Choose this option if you have a 8192 KB (8 MB) ROM chip.
105 config COREBOOT_ROMSIZE_KB_10240
106 bool "10240 KB (10 MB)"
108 Choose this option if you have a 10240 KB (10 MB) ROM chip.
110 config COREBOOT_ROMSIZE_KB_12288
111 bool "12288 KB (12 MB)"
113 Choose this option if you have a 12288 KB (12 MB) ROM chip.
115 config COREBOOT_ROMSIZE_KB_16384
116 bool "16384 KB (16 MB)"
118 Choose this option if you have a 16384 KB (16 MB) ROM chip.
120 config COREBOOT_ROMSIZE_KB_32768
121 bool "32768 KB (32 MB)"
123 Choose this option if you have a 32768 KB (32 MB) ROM chip.
125 config COREBOOT_ROMSIZE_KB_65536
126 bool "65536 KB (64 MB)"
128 Choose this option if you have a 65536 KB (64 MB) ROM chip.
132 # Map the config names to an integer (KB).
133 config COREBOOT_ROMSIZE_KB
135 default 64 if COREBOOT_ROMSIZE_KB_64
136 default 128 if COREBOOT_ROMSIZE_KB_128
137 default 256 if COREBOOT_ROMSIZE_KB_256
138 default 512 if COREBOOT_ROMSIZE_KB_512
139 default 1024 if COREBOOT_ROMSIZE_KB_1024
140 default 2048 if COREBOOT_ROMSIZE_KB_2048
141 default 4096 if COREBOOT_ROMSIZE_KB_4096
142 default 8192 if COREBOOT_ROMSIZE_KB_8192
143 default 10240 if COREBOOT_ROMSIZE_KB_10240
144 default 12288 if COREBOOT_ROMSIZE_KB_12288
145 default 16384 if COREBOOT_ROMSIZE_KB_16384
146 default 32768 if COREBOOT_ROMSIZE_KB_32768
147 default 65536 if COREBOOT_ROMSIZE_KB_65536
149 # Map the config names to a hex value (bytes).
152 default 0x10000 if COREBOOT_ROMSIZE_KB_64
153 default 0x20000 if COREBOOT_ROMSIZE_KB_128
154 default 0x40000 if COREBOOT_ROMSIZE_KB_256
155 default 0x80000 if COREBOOT_ROMSIZE_KB_512
156 default 0x100000 if COREBOOT_ROMSIZE_KB_1024
157 default 0x200000 if COREBOOT_ROMSIZE_KB_2048
158 default 0x400000 if COREBOOT_ROMSIZE_KB_4096
159 default 0x800000 if COREBOOT_ROMSIZE_KB_8192
160 default 0xa00000 if COREBOOT_ROMSIZE_KB_10240
161 default 0xc00000 if COREBOOT_ROMSIZE_KB_12288
162 default 0x1000000 if COREBOOT_ROMSIZE_KB_16384
163 default 0x2000000 if COREBOOT_ROMSIZE_KB_32768
164 default 0x4000000 if COREBOOT_ROMSIZE_KB_65536
166 config ENABLE_POWER_BUTTON
167 bool "Enable the power button" if POWER_BUTTON_IS_OPTIONAL
168 default y if POWER_BUTTON_DEFAULT_ENABLE
169 default n if POWER_BUTTON_DEFAULT_DISABLE
171 The selected mainboard can optionally have the power button tied
172 to ground with a jumper so that the button appears to be
173 constantly depressed. If this option is enabled and the jumper is
174 installed then the board will turn on, but turn off again after a
175 short timeout, usually 4 seconds.
177 Select Y here if you have removed the jumper and want to use an
178 actual power button. Select N if you have the jumper installed.
180 config ENABLE_POWER_BUTTON
181 def_bool y if !POWER_BUTTON_IS_OPTIONAL && POWER_BUTTON_FORCE_ENABLE
182 def_bool n if !POWER_BUTTON_IS_OPTIONAL && POWER_BUTTON_FORCE_DISABLE