69af4c8442e2ad16931156c45496f794785d0c1c
[coreboot.git] / src / mainboard / newisys / khepri / Options.lb
1 uses HAVE_MP_TABLE
2 uses HAVE_PIRQ_TABLE
3 uses USE_FALLBACK_IMAGE
4 uses HAVE_FALLBACK_BOOT
5 uses HAVE_HARD_RESET
6 uses IRQ_SLOT_COUNT
7 uses HAVE_OPTION_TABLE
8 uses CONFIG_MAX_CPUS
9 uses CONFIG_MAX_PHYSICAL_CPUS
10 uses CONFIG_IOAPIC
11 uses CONFIG_SMP
12 uses FALLBACK_SIZE
13 uses ROM_SIZE
14 uses ROM_SECTION_SIZE
15 uses ROM_IMAGE_SIZE
16 uses ROM_SECTION_SIZE
17 uses ROM_SECTION_OFFSET
18 uses CONFIG_ROM_STREAM
19 uses CONFIG_ROM_STREAM_START
20 uses PAYLOAD_SIZE
21 uses _ROMBASE
22 uses XIP_ROM_SIZE
23 uses XIP_ROM_BASE
24 uses STACK_SIZE
25 uses HEAP_SIZE
26 uses USE_OPTION_TABLE
27 uses LB_CKS_RANGE_START
28 uses LB_CKS_RANGE_END
29 uses LB_CKS_LOC
30 uses MAINBOARD_PART_NUMBER
31 uses MAINBOARD_VENDOR
32 uses MAINBOARD
33 uses LINUXBIOS_EXTRA_VERSION
34 uses _RAMBASE
35 uses TTYS0_BAUD
36 uses TTYS0_BASE
37 uses TTYS0_LCS
38 uses DEFAULT_CONSOLE_LOGLEVEL
39 uses MAXIMUM_CONSOLE_LOGLEVEL
40 uses MAINBOARD_POWER_ON_AFTER_POWER_FAIL
41 uses CONFIG_CONSOLE_SERIAL8250
42 uses CROSS_COMPILE
43 uses CC
44 uses HOSTCC
45 uses OBJCOPY
46
47 uses CONFIG_USE_INIT
48
49 ###
50 ### Build options
51 ###
52
53 ##
54 ## ROM_SIZE is the size of boot ROM that this board will use.
55 ##
56 default ROM_SIZE=524288
57
58 ##
59 ## FALLBACK_SIZE is the amount of the ROM the complete fallback image will use
60 ##
61 default FALLBACK_SIZE=0x40000
62
63 ##
64 ## Build code for the fallback boot
65 ##
66 default HAVE_FALLBACK_BOOT=1
67
68 ##
69 ## Build code to reset the motherboard from linuxBIOS
70 ##
71 default HAVE_HARD_RESET=1
72
73 ##
74 ## Build code to export a programmable irq routing table
75 ##
76 default HAVE_PIRQ_TABLE=1
77 default IRQ_SLOT_COUNT=9
78
79 ##
80 ## Build code to export an x86 MP table
81 ## Useful for specifying IRQ routing values
82 ##
83 default HAVE_MP_TABLE=1
84
85 ##
86 ## Build code to export a CMOS option table
87 ##
88 default HAVE_OPTION_TABLE=1
89
90 ##
91 ## Move the default LinuxBIOS cmos range off of AMD RTC registers
92 ##
93 default LB_CKS_RANGE_START=49
94 default LB_CKS_RANGE_END=122
95 default LB_CKS_LOC=123
96
97 ##
98 ## Build code for SMP support
99 ## Only worry about 2 micro processors
100 ##
101 default CONFIG_SMP=1
102 default CONFIG_MAX_CPUS=2
103 default CONFIG_MAX_PHYSICAL_CPUS=2
104
105 ##
106 ## Build code to setup a generic IOAPIC
107 ##
108 default CONFIG_IOAPIC=1
109
110 ##
111 ## Clean up the motherboard id strings
112 ##
113 default MAINBOARD_PART_NUMBER="Khepri"
114 default MAINBOARD_VENDOR="Newisys"
115
116 ###
117 ### LinuxBIOS layout values
118 ###
119
120 ## ROM_IMAGE_SIZE is the amount of space to allow linuxBIOS to occupy.
121 default ROM_IMAGE_SIZE = 65536
122
123 ##
124 ## Use a small 8K stack
125 ##
126 default STACK_SIZE=0x2000
127
128 ##
129 ## Use a small 16K heap
130 ##
131 default HEAP_SIZE=0x4000
132
133 ##
134 ## Only use the option table in a normal image
135 ##
136 default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
137
138 ##
139 ## LinuxBIOS C code runs at this location in RAM
140 ##
141 default _RAMBASE=0x00004000
142
143 ##
144 ## Load the payload from the ROM
145 ##
146 default CONFIG_ROM_STREAM = 1
147
148 ###
149 ### Defaults of options that you may want to override in the target config file
150 ### 
151
152 ##
153 ## The default compiler
154 ##
155 default CC="$(CROSS_COMPILE)gcc -m32"
156 default HOSTCC="gcc"
157
158 ##
159 ## The Serial Console
160 ##
161
162 # To Enable the Serial Console
163 default CONFIG_CONSOLE_SERIAL8250=1
164
165 ## Select the serial console baud rate
166 default TTYS0_BAUD=115200
167 #default TTYS0_BAUD=57600
168 #default TTYS0_BAUD=38400
169 #default TTYS0_BAUD=19200
170 #default TTYS0_BAUD=9600
171 #default TTYS0_BAUD=4800
172 #default TTYS0_BAUD=2400
173 #default TTYS0_BAUD=1200
174
175 # Select the serial console base port
176 default TTYS0_BASE=0x3f8
177
178 # Select the serial protocol
179 # This defaults to 8 data bits, 1 stop bit, and no parity
180 default TTYS0_LCS=0x3
181
182 ##
183 ### Select the linuxBIOS loglevel
184 ##
185 ## EMERG      1   system is unusable               
186 ## ALERT      2   action must be taken immediately 
187 ## CRIT       3   critical conditions              
188 ## ERR        4   error conditions                 
189 ## WARNING    5   warning conditions               
190 ## NOTICE     6   normal but significant condition 
191 ## INFO       7   informational                    
192 ## DEBUG      8   debug-level messages             
193 ## SPEW       9   Way too many details             
194
195 ## Request this level of debugging output
196 default  DEFAULT_CONSOLE_LOGLEVEL=8
197 ## At a maximum only compile in this level of debugging
198 default  MAXIMUM_CONSOLE_LOGLEVEL=8
199
200 ##
201 ## Select power on after power fail setting
202 default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON"
203
204 ### End Options.lb
205 end