3 uses USE_FALLBACK_IMAGE
4 uses LB_CKS_RANGE_START
12 ### Set all of the defaults for an x86 architecture
17 ### Build the objects we have code for in this directory.
21 register "fixup_scsi" = "1"
22 register "fixup_vga" = "1"
26 ## Move the default LinuxBIOS cmos range off of AMD RTC registers
28 default LB_CKS_RANGE_START=49
29 default LB_CKS_RANGE_END=122
30 default LB_CKS_LOC=123
34 #driver adaptec_scsi.o
37 #driver broadcom_nic.o
39 if HAVE_MP_TABLE object mptable.o end
40 if HAVE_PIRQ_TABLE object irq_tables.o end
46 ### Build our 16 bit and 32 bit linuxBIOS entry code
48 mainboardinit cpu/i386/entry16.inc
49 mainboardinit cpu/i386/entry32.inc
50 mainboardinit cpu/i386/bist32.inc
51 ldscript /cpu/i386/entry16.lds
52 ldscript /cpu/i386/entry32.lds
55 ### Build our reset vector (This is where linuxBIOS is entered)
58 mainboardinit cpu/i386/reset16.inc
59 ldscript /cpu/i386/reset16.lds
61 mainboardinit cpu/i386/reset32.inc
62 ldscript /cpu/i386/reset32.lds
65 #### Should this be in the northbridge code?
66 mainboardinit arch/i386/lib/cpu_reset.inc
69 ### Include an id string (For safe flashing)
71 mainboardinit arch/i386/lib/id.inc
72 ldscript /arch/i386/lib/id.lds
75 #### This is the early phase of linuxBIOS startup
76 #### Things are delicate and we test to see if we should
77 #### failover to another image.
79 #option MAX_REBOOT_CNT=2
81 ldscript /arch/i386/lib/failover.lds
87 mainboardinit cpu/k8/earlymtrr.inc
89 ### Only the bootstrap cpu makes it here.
90 ### Failover if we need to
94 mainboardinit ./failover.inc
100 ### Setup the serial port
102 mainboardinit pc80/serial.inc
103 mainboardinit arch/i386/lib/console.inc
104 mainboardinit cpu/i386/bist32_fail.inc
107 #### O.k. We aren't just an intermediary anymore!
113 #makerule ./failover.E dep "$(MAINBOARD)/failover.c" act "$(CPP) -I$(TOP)/src $(CPPFLAGS) $(MAINBOARD)/failover.c > ./failever.E"
114 #makerule ./failover.inc dep "./romcc ./failover.E" act "./romcc -O ./failover.E > failover.inc"
115 #mainboardinit .failover.inc
117 makerule ./failover.E
118 depends "$(MAINBOARD)/failover.c"
119 action "$(CPP) -I$(TOP)/src $(ROMCCPPFLAGS) $(CPPFLAGS) $(MAINBOARD)/failover.c > ./failover.E"
122 makerule ./failover.inc
123 depends "./romcc ./failover.E"
124 action "./romcc -O -o failover.inc --label-prefix=failover ./failover.E"end
127 depends "$(MAINBOARD)/auto.c option_table.h"
128 action "$(CPP) -I$(TOP)/src -I. $(ROMCCPPFLAGS) $(CPPFLAGS) $(MAINBOARD)/auto.c > ./auto.E"
131 depends "./romcc ./auto.E"
132 action "./romcc -O -mcpu=k8 -o auto.inc --label-prefix=auto ./auto.E"
133 # action "./romcc -mcpu=k8 -O ./auto.E > auto.inc"
135 mainboardinit cpu/k8/enable_mmx_sse.inc
136 mainboardinit ./auto.inc
137 mainboardinit cpu/k8/disable_mmx_sse.inc
140 ### Include the secondary Configuration files
142 northbridge amd/amdk8 "mc0"
149 southbridge amd/amd8131 "amd8131" link 2
155 southbridge amd/amd8111 "amd8111" link 2
167 superio winbond/w83627hf link 1
168 pnp 2e.0 off # Floppy
172 pnp 2e.1 off # Parallel Port
181 pnp 2e.5 on # Keyboard
186 pnp 2e.7 off # GAME_MIDI_GIPO1
190 pnp 2e.b off # HW Monitor
195 northbridge amd/amdk8 "mc1"
208 register "up" = "{.chip = &amd8131, .ht_width=16, .ht_speed=600}"