71ef27406953e8ba8546475448f26a583b03fbda
[coreboot.git] / src / mainboard / pcengines / alix1c / Options.lb
1 ##
2 ## This file is part of the LinuxBIOS project.
3 ##
4 ## Copyright (C) 2006-2007 Ronald G. Minnich <rminnich@gmail.com>
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 2 of the License, or
9 ## (at your option) any later version.
10 ##
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ## GNU General Public License for more details.
15 ##
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, write to the Free Software
18 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
19 ##
20
21 uses HAVE_MP_TABLE
22 uses HAVE_PIRQ_TABLE
23 uses USE_FALLBACK_IMAGE
24 uses HAVE_FALLBACK_BOOT
25 uses HAVE_HARD_RESET
26 uses HAVE_OPTION_TABLE
27 uses USE_OPTION_TABLE
28 uses CONFIG_ROM_PAYLOAD
29 uses IRQ_SLOT_COUNT
30 uses MAINBOARD
31 uses MAINBOARD_VENDOR
32 uses MAINBOARD_PART_NUMBER
33 uses LINUXBIOS_EXTRA_VERSION
34 uses ARCH
35 uses FALLBACK_SIZE
36 uses STACK_SIZE
37 uses HEAP_SIZE
38 uses ROM_SIZE
39 uses ROM_SECTION_SIZE
40 uses ROM_IMAGE_SIZE
41 uses ROM_SECTION_SIZE
42 uses ROM_SECTION_OFFSET
43 uses CONFIG_ROM_PAYLOAD_START
44 uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
45 uses CONFIG_COMPRESSED_PAYLOAD_LZMA
46 uses CONFIG_PRECOMPRESSED_PAYLOAD
47 uses PAYLOAD_SIZE
48 uses _ROMBASE
49 uses _RAMBASE
50 uses XIP_ROM_SIZE
51 uses XIP_ROM_BASE
52 uses HAVE_MP_TABLE
53 uses CROSS_COMPILE
54 uses CC
55 uses HOSTCC
56 uses OBJCOPY
57 uses DEFAULT_CONSOLE_LOGLEVEL
58 uses MAXIMUM_CONSOLE_LOGLEVEL
59 uses CONFIG_CONSOLE_SERIAL8250
60 uses TTYS0_BAUD
61 uses TTYS0_BASE
62 uses TTYS0_LCS
63 uses CONFIG_UDELAY_TSC
64 uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
65 uses CONFIG_CONSOLE_VGA
66 uses CONFIG_PCI_ROM_RUN
67 uses CONFIG_VIDEO_MB
68 uses USE_DCACHE_RAM
69 uses DCACHE_RAM_BASE
70 uses DCACHE_RAM_SIZE
71
72 ## ROM_SIZE is the size of boot ROM that this board will use.
73 default ROM_SIZE  = 512*1024
74
75 ###
76 ### Build options
77 ###
78 default CONFIG_CONSOLE_VGA=0
79 default CONFIG_VIDEO_MB=8
80 default CONFIG_PCI_ROM_RUN=0
81
82 ##
83 ## Build code for the fallback boot
84 ##
85 default HAVE_FALLBACK_BOOT=1
86
87 ##
88 ## no MP table
89 ##
90 default HAVE_MP_TABLE=0
91
92 ##
93 ## Build code to reset the motherboard from linuxBIOS
94 ##
95 default HAVE_HARD_RESET=0
96
97 ## Delay timer options
98 ##
99 default CONFIG_UDELAY_TSC=1
100 default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2=1
101
102 ##
103 ## Build code to export a programmable irq routing table
104 ##
105 default HAVE_PIRQ_TABLE=1
106 default IRQ_SLOT_COUNT=5
107
108 ##
109 ## Build code to export a CMOS option table
110 ##
111 default HAVE_OPTION_TABLE=0
112
113 ###
114 ### LinuxBIOS layout values
115 ###
116
117 ## ROM_IMAGE_SIZE is the amount of space to allow linuxBIOS to occupy.
118 default ROM_IMAGE_SIZE = 65536
119 default FALLBACK_SIZE = 131072
120
121 ##
122 ## enable CACHE_AS_RAM specifics
123 ##
124 default USE_DCACHE_RAM=1
125 default DCACHE_RAM_BASE=0xc8000
126 default DCACHE_RAM_SIZE=0x08000
127
128 ##
129 ## Use a small 8K stack
130 ##
131 default STACK_SIZE=0x2000
132
133 ##
134 ## Use a small 16K heap
135 ##
136 default HEAP_SIZE=0x4000
137
138 ##
139 ## Only use the option table in a normal image
140 ##
141 #default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
142 default USE_OPTION_TABLE = 0
143
144 default _RAMBASE = 0x00004000
145
146 default CONFIG_ROM_PAYLOAD     = 1
147
148 ##
149 ## The default compiler
150 ##
151 default CROSS_COMPILE=""
152 default CC="$(CROSS_COMPILE)gcc -m32"
153 default HOSTCC="gcc"
154
155 ##
156 ## The Serial Console
157 ##
158
159 # To Enable the Serial Console
160 default CONFIG_CONSOLE_SERIAL8250=1
161
162 ## Select the serial console baud rate
163 default TTYS0_BAUD=115200
164 #default TTYS0_BAUD=57600
165 #default TTYS0_BAUD=38400
166 #default TTYS0_BAUD=19200
167 #default TTYS0_BAUD=9600
168 #default TTYS0_BAUD=4800
169 #default TTYS0_BAUD=2400
170 #default TTYS0_BAUD=1200
171
172 # Select the serial console base port
173 default TTYS0_BASE=0x3f8
174
175 # Select the serial protocol
176 # This defaults to 8 data bits, 1 stop bit, and no parity
177 default TTYS0_LCS=0x3
178
179 ##
180 ### Select the linuxBIOS loglevel
181 ##
182 ## EMERG      1   system is unusable               
183 ## ALERT      2   action must be taken immediately 
184 ## CRIT       3   critical conditions              
185 ## ERR        4   error conditions                 
186 ## WARNING    5   warning conditions               
187 ## NOTICE     6   normal but significant condition 
188 ## INFO       7   informational                    
189 ## DEBUG      8   debug-level messages             
190 ## SPEW       9   Way too many details             
191
192 ## Request this level of debugging output
193 default  DEFAULT_CONSOLE_LOGLEVEL=8
194 ## At a maximum only compile in this level of debugging
195 default  MAXIMUM_CONSOLE_LOGLEVEL=8
196
197 end
198