Drop CONFIG_CHIP_NAME. Those config statements in Config.lb should
[coreboot.git] / src / mainboard / intel / xe7501devkit / Options.lb
1 uses HAVE_MP_TABLE
2 uses CONFIG_ROMFS
3 uses HAVE_ACPI_TABLES
4 uses HAVE_PIRQ_TABLE
5 uses HAVE_FALLBACK_BOOT
6 uses HAVE_OPTION_TABLE
7 uses IRQ_SLOT_COUNT
8 uses CONFIG_MAX_CPUS
9 uses CONFIG_LOGICAL_CPUS
10 uses CONFIG_MAX_PHYSICAL_CPUS
11 uses CONFIG_IOAPIC
12 uses CONFIG_SMP
13 uses CONFIG_ROM_PAYLOAD
14 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
15 uses CONFIG_PRECOMPRESSED_PAYLOAD
16 uses STACK_SIZE
17 uses HEAP_SIZE
18 uses USE_OPTION_TABLE
19 uses LB_CKS_RANGE_START
20 uses LB_CKS_RANGE_END
21 uses LB_CKS_LOC
22 uses MAINBOARD_PART_NUMBER
23 uses MAINBOARD_VENDOR
24 uses MAINBOARD
25 uses MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
26 uses MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
27 uses _RAMBASE
28 uses TTYS0_BAUD
29 uses TTYS0_BASE
30 uses TTYS0_LCS
31 uses DEFAULT_CONSOLE_LOGLEVEL
32 uses MAXIMUM_CONSOLE_LOGLEVEL
33 uses MAINBOARD_POWER_ON_AFTER_POWER_FAIL
34 uses CONFIG_CONSOLE_SERIAL8250
35 uses CONFIG_UDELAY_TSC
36 uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
37 uses HAVE_INIT_TIMER
38 uses CONFIG_GDB_STUB
39 uses CROSS_COMPILE
40 uses CC
41 uses HOSTCC
42 uses OBJCOPY
43 uses CONFIG_CONSOLE_VGA
44 uses CONFIG_PCI_ROM_RUN
45 uses DEBUG
46 #uses CPU_OPT
47 uses CONFIG_IDE
48
49 ## The default definitions are used for these
50 uses CONFIG_ROM_PAYLOAD_START
51 uses PAYLOAD_SIZE
52
53 ## These are defined in target Config.lb, don't add here
54 uses USE_FALLBACK_IMAGE
55 uses ROM_SIZE
56 uses ROM_IMAGE_SIZE
57 uses FALLBACK_SIZE
58 uses COREBOOT_EXTRA_VERSION
59
60 ## These are defined in mainboard Config.lb, don't add here
61 uses ROM_SECTION_SIZE
62 uses ROM_SECTION_OFFSET
63 uses _ROMBASE
64 uses XIP_ROM_SIZE
65 uses XIP_ROM_BASE
66
67 ###
68 ### Build options
69 ###
70
71 ##
72 ## ROM_SIZE is the size of boot ROM that this board will use.
73 ##
74 default ROM_SIZE=2097152
75 default ROM_IMAGE_SIZE = 65536
76
77 ##
78 ## Build code for the fallback boot?
79 ##
80 default HAVE_FALLBACK_BOOT=1
81 default FALLBACK_SIZE=131072
82
83
84 ## Delay timer options
85 ##
86 default CONFIG_UDELAY_TSC=1
87 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2=1
88
89 ##
90 ## Build code to export a programmable irq routing table
91 ##
92 default HAVE_PIRQ_TABLE=1
93 default IRQ_SLOT_COUNT=12
94
95 ##
96 ## Build code to export an x86 MP table
97 ## Useful for specifying IRQ routing values
98 ##
99 default HAVE_MP_TABLE=1
100
101 ## Build code to export ACPI tables?
102 default HAVE_ACPI_TABLES=1
103
104 ##
105 ## Build code to export a CMOS option table?
106 ##
107 default HAVE_OPTION_TABLE=0
108
109 ## CMOS checksum definitions (units == bytes)
110 ## These must match the checksum record in cmos.layout
111 default LB_CKS_RANGE_START=128
112 default LB_CKS_RANGE_END=130
113 default LB_CKS_LOC=131
114
115 ##
116 ## Build code for SMP support
117 ## Only worry about 2 micro processors
118 ## NOTE: CONFIG_MAX_CPUS is the number of LOGICAL CPUs,
119 ##               so if CONFIG_LOGICAL_CPUS is 1, CONFIG_MAX_CPUS should be 4.
120 ##
121 default CONFIG_SMP=1
122 default CONFIG_MAX_CPUS=2
123 default CONFIG_LOGICAL_CPUS=0
124 default CONFIG_MAX_PHYSICAL_CPUS=2
125
126 # VGA Console
127 # NOTE: to initialize VGA, need to copy the VGA option ROM from the factory BIOS
128 #           to VGA.rom
129 default CONFIG_CONSOLE_VGA=0
130 default CONFIG_PCI_ROM_RUN=0
131
132 ##
133 ## Build code to setup a generic IOAPIC
134 ##
135 default CONFIG_IOAPIC=1
136
137 ##
138 ## Motherboard identification
139 ##
140 default MAINBOARD_PART_NUMBER="EIDXE7501DEVKIT"
141 default MAINBOARD_VENDOR="Intel"
142 default MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x8086
143 default MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x2480
144
145 ###
146 ### coreboot layout values
147 ###
148
149 ##
150 ## Use a small 8K stack
151 ##
152 default STACK_SIZE=0x2000
153
154 ##
155 ## Use a small 16K heap
156 ##
157 default HEAP_SIZE=0x4000
158
159 ##
160 ## CMOS settings not currently supported due to conflicts with factory BIOS
161 ##
162 default USE_OPTION_TABLE = 0
163
164 ##
165 ## Coreboot C code runs at this location in RAM
166 ##
167 default _RAMBASE=0x00004000
168
169 ##
170 ## Load the payload from the ROM
171 ##
172 default CONFIG_ROM_PAYLOAD = 1
173
174 ###
175 ### Defaults of options that you may want to override in the target config file
176 ### 
177
178 ##
179 ## The default compiler
180 ##
181 default CC="$(CROSS_COMPILE)gcc -m32"
182 default HOSTCC="gcc"
183
184 ##
185 ## Disable the gdb stub by default
186 ## 
187 default CONFIG_GDB_STUB=0
188
189 ##
190 ## The Serial Console
191 ##
192
193 # To Enable the Serial Console
194 default CONFIG_CONSOLE_SERIAL8250=1
195
196 ## Select the serial console baud rate
197 default TTYS0_BAUD=115200
198 #default TTYS0_BAUD=57600
199 #default TTYS0_BAUD=38400
200 #default TTYS0_BAUD=19200
201 #default TTYS0_BAUD=9600
202 #default TTYS0_BAUD=4800
203 #default TTYS0_BAUD=2400
204 #default TTYS0_BAUD=1200
205
206 # Select the serial console base port
207 default TTYS0_BASE=0x3f8
208
209 # Select the serial protocol
210 # This defaults to 8 data bits, 1 stop bit, and no parity
211 default TTYS0_LCS=0x3
212
213 ##
214 ### Select the coreboot loglevel
215 ##
216 ## EMERG      1   system is unusable               
217 ## ALERT      2   action must be taken immediately 
218 ## CRIT       3   critical conditions              
219 ## ERR        4   error conditions                 
220 ## WARNING    5   warning conditions               
221 ## NOTICE     6   normal but significant condition 
222 ## INFO       7   informational                    
223 ## DEBUG      8   debug-level messages             
224 ## SPEW       9   Way too many details             
225
226 ## Request this level of debugging output
227 default  DEFAULT_CONSOLE_LOGLEVEL=8
228 ## At a maximum only compile in this level of debugging
229 default  MAXIMUM_CONSOLE_LOGLEVEL=8
230
231 ##
232 ## Select power on after power fail setting
233 default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
234
235 ## Things we may not have
236 default CONFIG_IDE=1
237
238 default DEBUG=1
239 # default CPU_OPT="-g"
240
241 ### End Options.lb
242 #
243 # ROMFS
244 #
245 #
246 default CONFIG_ROMFS=0
247 end