arch import user (historical) | 98d0d30 | 2005-07-06 17:13:46 +0000 | [diff] [blame] | 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 HARD_RESET_BUS |
| 7 | uses HARD_RESET_DEVICE |
| 8 | uses HARD_RESET_FUNCTION |
| 9 | uses IRQ_SLOT_COUNT |
| 10 | uses HAVE_OPTION_TABLE |
| 11 | uses CONFIG_MAX_CPUS |
arch import user (historical) | ef03afa | 2005-07-06 17:15:30 +0000 | [diff] [blame] | 12 | uses CONFIG_MAX_PHYSICAL_CPUS |
| 13 | uses CONFIG_LOGICAL_CPUS |
arch import user (historical) | 98d0d30 | 2005-07-06 17:13:46 +0000 | [diff] [blame] | 14 | uses CONFIG_IOAPIC |
| 15 | uses CONFIG_SMP |
| 16 | uses FALLBACK_SIZE |
| 17 | uses ROM_SIZE |
| 18 | uses ROM_SECTION_SIZE |
| 19 | uses ROM_IMAGE_SIZE |
| 20 | uses ROM_SECTION_SIZE |
| 21 | uses ROM_SECTION_OFFSET |
| 22 | uses CONFIG_ROM_STREAM |
| 23 | uses CONFIG_ROM_STREAM_START |
| 24 | uses PAYLOAD_SIZE |
| 25 | uses _ROMBASE |
| 26 | uses XIP_ROM_SIZE |
| 27 | uses XIP_ROM_BASE |
| 28 | uses STACK_SIZE |
| 29 | uses HEAP_SIZE |
| 30 | uses USE_OPTION_TABLE |
| 31 | uses LB_CKS_RANGE_START |
| 32 | uses LB_CKS_RANGE_END |
| 33 | uses LB_CKS_LOC |
| 34 | uses MAINBOARD |
| 35 | uses MAINBOARD_PART_NUMBER |
| 36 | uses MAINBOARD_VENDOR |
| 37 | uses MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID |
| 38 | uses MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID |
| 39 | uses LINUXBIOS_EXTRA_VERSION |
| 40 | uses _RAMBASE |
| 41 | uses CONFIG_GDB_STUB |
| 42 | uses CROSS_COMPILE |
| 43 | uses CC |
| 44 | uses HOSTCC |
| 45 | uses OBJCOPY |
| 46 | uses TTYS0_BAUD |
| 47 | uses TTYS0_BASE |
| 48 | uses TTYS0_LCS |
| 49 | uses DEFAULT_CONSOLE_LOGLEVEL |
| 50 | uses MAXIMUM_CONSOLE_LOGLEVEL |
| 51 | uses MAINBOARD_POWER_ON_AFTER_POWER_FAIL |
| 52 | uses CONFIG_CONSOLE_SERIAL8250 |
| 53 | uses HAVE_INIT_TIMER |
| 54 | uses CONFIG_GDB_STUB |
| 55 | uses CONFIG_CHIP_NAME |
| 56 | uses CONFIG_CONSOLE_VGA |
| 57 | uses CONFIG_PCI_ROM_RUN |
arch import user (historical) | ef03afa | 2005-07-06 17:15:30 +0000 | [diff] [blame] | 58 | uses K8_E0_MEM_HOLE_SIZEK |
arch import user (historical) | 98d0d30 | 2005-07-06 17:13:46 +0000 | [diff] [blame] | 59 | |
| 60 | uses CK804_DEVN_BASE |
| 61 | |
arch import user (historical) | 6ca7636 | 2005-07-06 17:17:25 +0000 | [diff] [blame^] | 62 | uses USE_DCACHE_RAM |
| 63 | uses DCACHE_RAM_BASE |
| 64 | uses DCACHE_RAM_SIZE |
| 65 | uses CONFIG_USE_INIT |
| 66 | |
arch import user (historical) | 98d0d30 | 2005-07-06 17:13:46 +0000 | [diff] [blame] | 67 | ## ROM_SIZE is the size of boot ROM that this board will use. |
| 68 | #512K bytes |
| 69 | default 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 | ## |
| 77 | default FALLBACK_SIZE=131072 |
| 78 | |
| 79 | ### |
| 80 | ### Build options |
| 81 | ### |
| 82 | |
| 83 | ## |
| 84 | ## Build code for the fallback boot |
| 85 | ## |
| 86 | default HAVE_FALLBACK_BOOT=1 |
| 87 | |
| 88 | ## |
| 89 | ## Build code to reset the motherboard from linuxBIOS |
| 90 | ## |
| 91 | default HAVE_HARD_RESET=1 |
| 92 | |
arch import user (historical) | 6ca7636 | 2005-07-06 17:17:25 +0000 | [diff] [blame^] | 93 | #default HARD_RESET_BUS=1 |
| 94 | #default HARD_RESET_DEVICE=4 |
| 95 | #default HARD_RESET_FUNCTION=0 |
arch import user (historical) | 98d0d30 | 2005-07-06 17:13:46 +0000 | [diff] [blame] | 96 | |
| 97 | ## |
| 98 | ## Build code to export a programmable irq routing table |
| 99 | ## |
| 100 | default HAVE_PIRQ_TABLE=1 |
| 101 | default IRQ_SLOT_COUNT=11 |
| 102 | |
| 103 | ## |
| 104 | ## Build code to export an x86 MP table |
| 105 | ## Useful for specifying IRQ routing values |
| 106 | ## |
| 107 | default HAVE_MP_TABLE=1 |
| 108 | |
| 109 | ## |
| 110 | ## Build code to export a CMOS option table |
| 111 | ## |
| 112 | default HAVE_OPTION_TABLE=1 |
| 113 | |
| 114 | ## |
| 115 | ## Move the default LinuxBIOS cmos range off of AMD RTC registers |
| 116 | ## |
| 117 | default LB_CKS_RANGE_START=49 |
| 118 | default LB_CKS_RANGE_END=122 |
| 119 | default LB_CKS_LOC=123 |
| 120 | |
| 121 | ## |
| 122 | ## Build code for SMP support |
| 123 | ## Only worry about 2 micro processors |
| 124 | ## |
| 125 | default CONFIG_SMP=1 |
arch import user (historical) | ef03afa | 2005-07-06 17:15:30 +0000 | [diff] [blame] | 126 | default CONFIG_MAX_CPUS=4 |
| 127 | default CONFIG_MAX_PHYSICAL_CPUS=2 |
| 128 | default CONFIG_LOGICAL_CPUS=1 |
arch import user (historical) | 98d0d30 | 2005-07-06 17:13:46 +0000 | [diff] [blame] | 129 | |
| 130 | #CHIP_NAME ? |
| 131 | #default CONFIG_CHIP_NAME=1 |
| 132 | |
arch import user (historical) | ef03afa | 2005-07-06 17:15:30 +0000 | [diff] [blame] | 133 | #1G memory hole |
| 134 | default K8_E0_MEM_HOLE_SIZEK=0x100000 |
| 135 | |
arch import user (historical) | 98d0d30 | 2005-07-06 17:13:46 +0000 | [diff] [blame] | 136 | #CK804 setting |
| 137 | default CK804_DEVN_BASE=0 |
| 138 | |
| 139 | #VGA |
| 140 | default CONFIG_CONSOLE_VGA=1 |
| 141 | default CONFIG_PCI_ROM_RUN=1 |
| 142 | |
| 143 | ## |
arch import user (historical) | 6ca7636 | 2005-07-06 17:17:25 +0000 | [diff] [blame^] | 144 | ## enable CACHE_AS_RAM specifics |
| 145 | ## |
| 146 | default USE_DCACHE_RAM=1 |
| 147 | default DCACHE_RAM_BASE=0xcf000 |
| 148 | default DCACHE_RAM_SIZE=0x1000 |
| 149 | default CONFIG_USE_INIT=1 |
| 150 | |
| 151 | ## |
arch import user (historical) | 98d0d30 | 2005-07-06 17:13:46 +0000 | [diff] [blame] | 152 | ## Build code to setup a generic IOAPIC |
| 153 | ## |
| 154 | default CONFIG_IOAPIC=1 |
| 155 | |
| 156 | ## |
| 157 | ## Clean up the motherboard id strings |
| 158 | ## |
arch import user (historical) | 6ca7636 | 2005-07-06 17:17:25 +0000 | [diff] [blame^] | 159 | default MAINBOARD_PART_NUMBER="s2895" |
| 160 | default MAINBOARD_VENDOR="Tyan" |
arch import user (historical) | 98d0d30 | 2005-07-06 17:13:46 +0000 | [diff] [blame] | 161 | default MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x10f1 |
| 162 | default 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. |
| 169 | default ROM_IMAGE_SIZE = 65536 |
| 170 | |
| 171 | ## |
| 172 | ## Use a small 8K stack |
| 173 | ## |
| 174 | default STACK_SIZE=0x2000 |
| 175 | |
| 176 | ## |
| 177 | ## Use a small 16K heap |
| 178 | ## |
| 179 | default HEAP_SIZE=0x4000 |
| 180 | |
| 181 | ## |
| 182 | ## Only use the option table in a normal image |
| 183 | ## |
| 184 | default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE |
| 185 | |
| 186 | ## |
| 187 | ## LinuxBIOS C code runs at this location in RAM |
| 188 | ## |
| 189 | default _RAMBASE=0x00004000 |
| 190 | |
| 191 | ## |
| 192 | ## Load the payload from the ROM |
| 193 | ## |
| 194 | default 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 | ## |
| 203 | default CC="$(CROSS_COMPILE)gcc -m32" |
| 204 | default HOSTCC="gcc" |
| 205 | |
| 206 | ## |
| 207 | ## Disable the gdb stub by default |
| 208 | ## |
| 209 | default CONFIG_GDB_STUB=0 |
| 210 | |
| 211 | ## |
| 212 | ## The Serial Console |
| 213 | ## |
| 214 | |
| 215 | # To Enable the Serial Console |
| 216 | default CONFIG_CONSOLE_SERIAL8250=1 |
| 217 | |
| 218 | ## Select the serial console baud rate |
| 219 | default 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 |
| 229 | default TTYS0_BASE=0x3f8 |
| 230 | |
| 231 | # Select the serial protocol |
| 232 | # This defaults to 8 data bits, 1 stop bit, and no parity |
| 233 | default 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) | 6ca7636 | 2005-07-06 17:17:25 +0000 | [diff] [blame^] | 249 | default DEFAULT_CONSOLE_LOGLEVEL=8 |
arch import user (historical) | 98d0d30 | 2005-07-06 17:13:46 +0000 | [diff] [blame] | 250 | ## At a maximum only compile in this level of debugging |
| 251 | default MAXIMUM_CONSOLE_LOGLEVEL=8 |
| 252 | |
| 253 | ## |
| 254 | ## Select power on after power fail setting |
| 255 | default MAINBOARD_POWER_ON_AFTER_POWER_FAIL="MAINBOARD_POWER_ON" |
| 256 | |
| 257 | ### End Options.lb |
| 258 | end |