3 uses USE_FALLBACK_IMAGE
4 uses LB_CKS_RANGE_START
10 uses HARD_RESET_DEVICE
11 uses HARD_RESET_FUNCTION
16 ### Set all of the defaults for an x86 architecture
22 ### Build the objects we have code for in this directory.
26 register "fixup_scsi" = "1"
27 register "fixup_vga" = "1"
31 ## Move the default LinuxBIOS cmos range off of AMD RTC registers
33 default LB_CKS_RANGE_START=49
34 default LB_CKS_RANGE_END=122
35 default LB_CKS_LOC=123
38 #dir /drvers/adaptec/7902
40 #dir /drivers/intel/82551
43 if HAVE_MP_TABLE object mptable.o end
44 if HAVE_PIRQ_TABLE object irq_tables.o end
46 default HARD_RESET_BUS=3
47 default HARD_RESET_DEVICE=4
48 default HARD_RESET_FUNCTION=0
55 ### Build our 16 bit and 32 bit linuxBIOS entry code
57 mainboardinit cpu/i386/entry16.inc
58 mainboardinit cpu/i386/entry32.inc
59 mainboardinit cpu/i386/bist32.inc
60 ldscript /cpu/i386/entry16.lds
61 ldscript /cpu/i386/entry32.lds
65 ### Build our reset vector (This is where linuxBIOS is entered)
68 mainboardinit cpu/i386/reset16.inc
69 ldscript /cpu/i386/reset16.lds
71 mainboardinit cpu/i386/reset32.inc
72 ldscript /cpu/i386/reset32.lds
75 #### Should this be in the northbridge code?
76 mainboardinit arch/i386/lib/cpu_reset.inc
79 ### Include an id string (For safe flashing)
81 mainboardinit arch/i386/lib/id.inc
82 ldscript /arch/i386/lib/id.lds
85 #### This is the early phase of linuxBIOS startup
86 #### Things are delicate and we test to see if we should
87 #### failover to another image.
89 #option MAX_REBOOT_CNT=2
91 ldscript /arch/i386/lib/failover.lds
97 mainboardinit cpu/k8/earlymtrr.inc
99 ### Only the bootstrap cpu makes it here.
100 ### Failover if we need to
103 if USE_FALLBACK_IMAGE
104 mainboardinit ./failover.inc
110 ### Setup the serial port
112 mainboardinit pc80/serial.inc
113 mainboardinit arch/i386/lib/console.inc
114 mainboardinit cpu/i386/bist32_fail.inc
117 #### O.k. We aren't just an intermediary anymore!
122 makerule ./failover.E
123 depends "$(MAINBOARD)/failover.c"
124 action "$(CPP) -I$(TOP)/src $(ROMCCPPFLAGS) $(CPPFLAGS) $(MAINBOARD)/failover.c > ./failover.E"
127 makerule ./failover.inc
128 depends "./romcc ./failover.E"
129 action "./romcc -O -o failover.inc --label-prefix=failover ./failover.E"
133 depends "$(MAINBOARD)/auto.c option_table.h"
134 action "$(CPP) -I$(TOP)/src -I. $(ROMCCPPFLAGS) $(CPPFLAGS) $(MAINBOARD)/auto.c > ./auto.E"
138 depends "./romcc ./auto.E"
139 action "./romcc -O2 -mcpu=k8 -o auto.inc --label-prefix=auto ./auto.E"
142 mainboardinit cpu/k8/enable_mmx_sse.inc
143 mainboardinit ./auto.inc
144 mainboardinit cpu/k8/disable_mmx_sse.inc
148 ### Include the secondary Configuration files
152 northbridge amd/amdk8 "mc0"
159 southbridge amd/amd8131 "amd8131" link 2
165 southbridge amd/amd8111 "amd8111" link 2
177 superio winbond/w83627hf link 1
182 pnp 2e.1 off # Parallel Port
191 pnp 2e.5 on # Keyboard
197 pnp 2e.7 off # GAME_MIDI_GIPO1
201 pnp 2e.b on # HW Monitor
205 southbridge amd/amd8151 "amd8151" link 0
211 northbridge amd/amdk8 "mc1"
223 register "up" = "{.chip = &amd8151, .ht_width=16, .ht_speed=600}"
224 register "down" = "{.chip = &amd8131, .ht_width=16, .ht_speed=600}"