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_12288
34 config BOARD_ROMSIZE_KB_16384
36 config BOARD_ROMSIZE_KB_32768
38 config BOARD_ROMSIZE_KB_65536
41 # TODO: No help text possible for choice fields?
43 prompt "ROM chip size"
44 default COREBOOT_ROMSIZE_KB_64 if BOARD_ROMSIZE_KB_64
45 default COREBOOT_ROMSIZE_KB_128 if BOARD_ROMSIZE_KB_128
46 default COREBOOT_ROMSIZE_KB_256 if BOARD_ROMSIZE_KB_256
47 default COREBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512
48 default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
49 default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
50 default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
51 default COREBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192
52 default COREBOOT_ROMSIZE_KB_12288 if BOARD_ROMSIZE_KB_12288
53 default COREBOOT_ROMSIZE_KB_16384 if BOARD_ROMSIZE_KB_16384
54 default COREBOOT_ROMSIZE_KB_32768 if BOARD_ROMSIZE_KB_32768
55 default COREBOOT_ROMSIZE_KB_65536 if BOARD_ROMSIZE_KB_65536
57 Select the size of the ROM chip you intend to flash coreboot on.
59 The build system will take care of creating a coreboot.rom file
62 config COREBOOT_ROMSIZE_KB_64
65 Choose this option if you have a 64 KB ROM chip.
67 config COREBOOT_ROMSIZE_KB_128
70 Choose this option if you have a 128 KB ROM chip.
72 config COREBOOT_ROMSIZE_KB_256
75 Choose this option if you have a 256 KB ROM chip.
77 config COREBOOT_ROMSIZE_KB_512
80 Choose this option if you have a 512 KB ROM chip.
82 config COREBOOT_ROMSIZE_KB_1024
85 Choose this option if you have a 1024 KB (1 MB) ROM chip.
87 config COREBOOT_ROMSIZE_KB_2048
90 Choose this option if you have a 2048 KB (2 MB) ROM chip.
92 config COREBOOT_ROMSIZE_KB_4096
95 Choose this option if you have a 4096 KB (4 MB) ROM chip.
97 config COREBOOT_ROMSIZE_KB_8192
100 Choose this option if you have a 8192 KB (8 MB) ROM chip.
102 config COREBOOT_ROMSIZE_KB_12288
103 bool "12288 KB (12 MB)"
105 Choose this option if you have a 12288 KB (12 MB) ROM chip.
107 config COREBOOT_ROMSIZE_KB_16384
108 bool "16384 KB (16 MB)"
110 Choose this option if you have a 16384 KB (16 MB) ROM chip.
112 config COREBOOT_ROMSIZE_KB_32768
113 bool "32768 KB (32 MB)"
115 Choose this option if you have a 32768 KB (32 MB) ROM chip.
117 config COREBOOT_ROMSIZE_KB_65536
118 bool "65536 KB (64 MB)"
120 Choose this option if you have a 65536 KB (64 MB) ROM chip.
124 # Map the config names to an integer (KB).
125 config COREBOOT_ROMSIZE_KB
127 default 64 if COREBOOT_ROMSIZE_KB_64
128 default 128 if COREBOOT_ROMSIZE_KB_128
129 default 256 if COREBOOT_ROMSIZE_KB_256
130 default 512 if COREBOOT_ROMSIZE_KB_512
131 default 1024 if COREBOOT_ROMSIZE_KB_1024
132 default 2048 if COREBOOT_ROMSIZE_KB_2048
133 default 4096 if COREBOOT_ROMSIZE_KB_4096
134 default 8192 if COREBOOT_ROMSIZE_KB_8192
135 default 12288 if COREBOOT_ROMSIZE_KB_12288
136 default 16384 if COREBOOT_ROMSIZE_KB_16384
137 default 32768 if COREBOOT_ROMSIZE_KB_32768
138 default 65536 if COREBOOT_ROMSIZE_KB_65536
140 # Map the config names to a hex value (bytes).
143 default 0x10000 if COREBOOT_ROMSIZE_KB_64
144 default 0x20000 if COREBOOT_ROMSIZE_KB_128
145 default 0x40000 if COREBOOT_ROMSIZE_KB_256
146 default 0x80000 if COREBOOT_ROMSIZE_KB_512
147 default 0x100000 if COREBOOT_ROMSIZE_KB_1024
148 default 0x200000 if COREBOOT_ROMSIZE_KB_2048
149 default 0x400000 if COREBOOT_ROMSIZE_KB_4096
150 default 0x800000 if COREBOOT_ROMSIZE_KB_8192
151 default 0xc00000 if COREBOOT_ROMSIZE_KB_12288
152 default 0x1000000 if COREBOOT_ROMSIZE_KB_16384
153 default 0x2000000 if COREBOOT_ROMSIZE_KB_32768
154 default 0x4000000 if COREBOOT_ROMSIZE_KB_65536
156 config ENABLE_POWER_BUTTON
157 bool "Enable the power button" if POWER_BUTTON_IS_OPTIONAL
158 default y if POWER_BUTTON_DEFAULT_ENABLE
159 default n if POWER_BUTTON_DEFAULT_DISABLE
161 The selected mainboard can optionally have the power button tied
162 to ground with a jumper so that the button appears to be
163 constantly depressed. If this option is enabled and the jumper is
164 installed then the board will turn on, but turn off again after a
165 short timeout, usually 4 seconds.
167 Select Y here if you have removed the jumper and want to use an
168 actual power button. Select N if you have the jumper installed.
170 config ENABLE_POWER_BUTTON
171 def_bool y if !POWER_BUTTON_IS_OPTIONAL && POWER_BUTTON_FORCE_ENABLE
172 def_bool n if !POWER_BUTTON_IS_OPTIONAL && POWER_BUTTON_FORCE_DISABLE