blob: e2d220201bef328147cfbee252a4987ff5b6a0fb [file] [log] [blame]
arch import user (historical)98d0d302005-07-06 17:13:46 +00001uses HAVE_MP_TABLE
2uses HAVE_PIRQ_TABLE
3uses USE_FALLBACK_IMAGE
4uses HAVE_FALLBACK_BOOT
5uses HAVE_HARD_RESET
6uses HARD_RESET_BUS
7uses HARD_RESET_DEVICE
8uses HARD_RESET_FUNCTION
9uses IRQ_SLOT_COUNT
10uses HAVE_OPTION_TABLE
11uses CONFIG_MAX_CPUS
arch import user (historical)ef03afa2005-07-06 17:15:30 +000012uses CONFIG_MAX_PHYSICAL_CPUS
13uses CONFIG_LOGICAL_CPUS
arch import user (historical)98d0d302005-07-06 17:13:46 +000014uses CONFIG_IOAPIC
15uses CONFIG_SMP
16uses FALLBACK_SIZE
17uses ROM_SIZE
18uses ROM_SECTION_SIZE
19uses ROM_IMAGE_SIZE
20uses ROM_SECTION_SIZE
21uses ROM_SECTION_OFFSET
22uses CONFIG_ROM_STREAM
23uses CONFIG_ROM_STREAM_START
24uses PAYLOAD_SIZE
25uses _ROMBASE
26uses XIP_ROM_SIZE
27uses XIP_ROM_BASE
28uses STACK_SIZE
29uses HEAP_SIZE
30uses USE_OPTION_TABLE
31uses LB_CKS_RANGE_START
32uses LB_CKS_RANGE_END
33uses LB_CKS_LOC
34uses MAINBOARD
35uses MAINBOARD_PART_NUMBER
36uses MAINBOARD_VENDOR
37uses MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
38uses MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
39uses LINUXBIOS_EXTRA_VERSION
40uses _RAMBASE
41uses CONFIG_GDB_STUB
42uses CROSS_COMPILE
43uses CC
44uses HOSTCC
45uses OBJCOPY
46uses TTYS0_BAUD
47uses TTYS0_BASE
48uses TTYS0_LCS
49uses DEFAULT_CONSOLE_LOGLEVEL
50uses MAXIMUM_CONSOLE_LOGLEVEL
51uses MAINBOARD_POWER_ON_AFTER_POWER_FAIL
52uses CONFIG_CONSOLE_SERIAL8250
53uses HAVE_INIT_TIMER
54uses CONFIG_GDB_STUB
55uses CONFIG_CHIP_NAME
56uses CONFIG_CONSOLE_VGA
57uses CONFIG_PCI_ROM_RUN
arch import user (historical)ef03afa2005-07-06 17:15:30 +000058uses K8_E0_MEM_HOLE_SIZEK
arch import user (historical)98d0d302005-07-06 17:13:46 +000059
60uses CK804_DEVN_BASE
61
arch import user (historical)6ca76362005-07-06 17:17:25 +000062uses USE_DCACHE_RAM
63uses DCACHE_RAM_BASE
64uses DCACHE_RAM_SIZE
65uses CONFIG_USE_INIT
66
arch import user (historical)98d0d302005-07-06 17:13:46 +000067## ROM_SIZE is the size of boot ROM that this board will use.
68#512K bytes
69default ROM_SIZE=524288
70
71#1M bytes
72#default ROM_SIZE=1048576
73
74##
75## FALLBACK_SIZE is the amount of the ROM the complete fallback image will use
76##
77default FALLBACK_SIZE=131072
78
79###
80### Build options
81###
82
83##
84## Build code for the fallback boot
85##
86default HAVE_FALLBACK_BOOT=1
87
88##
89## Build code to reset the motherboard from linuxBIOS
90##
91default HAVE_HARD_RESET=1
92
arch import user (historical)6ca76362005-07-06 17:17:25 +000093#default HARD_RESET_BUS=1
94#default HARD_RESET_DEVICE=4
95#default HARD_RESET_FUNCTION=0
arch import user (historical)98d0d302005-07-06 17:13:46 +000096
97##
98## Build code to export a programmable irq routing table
99##
100default HAVE_PIRQ_TABLE=1
101default IRQ_SLOT_COUNT=11
102
103##
104## Build code to export an x86 MP table
105## Useful for specifying IRQ routing values
106##
107default HAVE_MP_TABLE=1
108
109##
110## Build code to export a CMOS option table
111##
112default HAVE_OPTION_TABLE=1
113
114##
115## Move the default LinuxBIOS cmos range off of AMD RTC registers
116##
117default LB_CKS_RANGE_START=49
118default LB_CKS_RANGE_END=122
119default LB_CKS_LOC=123
120
121##
122## Build code for SMP support
123## Only worry about 2 micro processors
124##
125default CONFIG_SMP=1
arch import user (historical)ef03afa2005-07-06 17:15:30 +0000126default CONFIG_MAX_CPUS=4
127default CONFIG_MAX_PHYSICAL_CPUS=2
128default CONFIG_LOGICAL_CPUS=1
arch import user (historical)98d0d302005-07-06 17:13:46 +0000129
130#CHIP_NAME ?
131#default CONFIG_CHIP_NAME=1
132
arch import user (historical)ef03afa2005-07-06 17:15:30 +0000133#1G memory hole
134default K8_E0_MEM_HOLE_SIZEK=0x100000
135
arch import user (historical)98d0d302005-07-06 17:13:46 +0000136#CK804 setting
137default CK804_DEVN_BASE=0
138
139#VGA
140default CONFIG_CONSOLE_VGA=1
141default CONFIG_PCI_ROM_RUN=1
142
143##
arch import user (historical)6ca76362005-07-06 17:17:25 +0000144## enable CACHE_AS_RAM specifics
145##
146default USE_DCACHE_RAM=1
147default DCACHE_RAM_BASE=0xcf000
148default DCACHE_RAM_SIZE=0x1000
149default CONFIG_USE_INIT=1
150
151##
arch import user (historical)98d0d302005-07-06 17:13:46 +0000152## Build code to setup a generic IOAPIC
153##
154default CONFIG_IOAPIC=1
155
156##
157## Clean up the motherboard id strings
158##
arch import user (historical)6ca76362005-07-06 17:17:25 +0000159default MAINBOARD_PART_NUMBER="s2895"
160default MAINBOARD_VENDOR="Tyan"
arch import user (historical)98d0d302005-07-06 17:13:46 +0000161default MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x10f1
162default MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x2895
163
164###
165### LinuxBIOS layout values
166###
167
168## ROM_IMAGE_SIZE is the amount of space to allow linuxBIOS to occupy.
169default ROM_IMAGE_SIZE = 65536
170
171##
172## Use a small 8K stack
173##
174default STACK_SIZE=0x2000
175
176##
177## Use a small 16K heap
178##
179default HEAP_SIZE=0x4000
180
181##
182## Only use the option table in a normal image
183##
184default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
185
186##
187## LinuxBIOS C code runs at this location in RAM
188##
189default _RAMBASE=0x00004000
190
191##
192## Load the payload from the ROM
193##
194default CONFIG_ROM_STREAM = 1
195
196###
197### Defaults of options that you may want to override in the target config file
198###
199
200##
201## The default compiler
202##
203default CC="$(CROSS_COMPILE)gcc -m32"
204default HOSTCC="gcc"
205
206##
207## Disable the gdb stub by default
208##
209default CONFIG_GDB_STUB=0
210
211##
212## The Serial Console
213##
214
215# To Enable the Serial Console
216default CONFIG_CONSOLE_SERIAL8250=1
217
218## Select the serial console baud rate
219default TTYS0_BAUD=115200
220#default TTYS0_BAUD=57600
221#default TTYS0_BAUD=38400
222#default TTYS0_BAUD=19200
223#default TTYS0_BAUD=9600
224#default TTYS0_BAUD=4800
225#default TTYS0_BAUD=2400
226#default TTYS0_BAUD=1200
227
228# Select the serial console base port
229default TTYS0_BASE=0x3f8
230
231# Select the serial protocol
232# This defaults to 8 data bits, 1 stop bit, and no parity
233default TTYS0_LCS=0x3
234
235##
236### Select the linuxBIOS loglevel
237##
238## EMERG 1 system is unusable
239## ALERT 2 action must be taken immediately
240## CRIT 3 critical conditions
241## ERR 4 error conditions
242## WARNING 5 warning conditions
243## NOTICE 6 normal but significant condition
244## INFO 7 informational
245## DEBUG 8 debug-level messages
246## SPEW 9 Way too many details
247
248## Request this level of debugging output
arch import user (historical)6ca76362005-07-06 17:17:25 +0000249default DEFAULT_CONSOLE_LOGLEVEL=8
arch import user (historical)98d0d302005-07-06 17:13:46 +0000250## At a maximum only compile in this level of debugging
251default MAXIMUM_CONSOLE_LOGLEVEL=8
252
253##
254## Select power on after power fail setting
255default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
256
257### End Options.lb
258end