3 uses USE_FALLBACK_IMAGE
9 ### Set all of the defaults for an x86 architecture
14 ### Build the objects we have code for in this directory.
18 register "fixup_scsi" = "1"
19 register "fixup_vga" = "1"
27 object static_devices.o
28 if HAVE_MP_TABLE object mptable.o end
29 if HAVE_PIRQ_TABLE object irq_tables.o end
35 ### Build our 16 bit and 32 bit linuxBIOS entry code
37 mainboardinit cpu/i386/entry16.inc
38 mainboardinit cpu/i386/entry32.inc
39 ldscript /cpu/i386/entry16.lds
40 ldscript /cpu/i386/entry32.lds
43 ### Build our reset vector (This is where linuxBIOS is entered)
46 mainboardinit cpu/i386/reset16.inc
47 ldscript /cpu/i386/reset16.lds
49 mainboardinit cpu/i386/reset32.inc
50 ldscript /cpu/i386/reset32.lds
53 #### Should this be in the northbridge code?
54 mainboardinit arch/i386/lib/cpu_reset.inc
57 ### Include an id string (For safe flashing)
59 mainboardinit arch/i386/lib/id.inc
60 ldscript /arch/i386/lib/id.lds
63 #### This is the early phase of linuxBIOS startup
64 #### Things are delicate and we test to see if we should
65 #### failover to another image.
67 #option MAX_REBOOT_CNT=2
69 ldscript /arch/i386/lib/failover.lds
75 mainboardinit cpu/k8/earlymtrr.inc
77 ### Only the bootstrap cpu makes it here.
78 ### Failover if we need to
82 mainboardinit ./failover.inc
88 ### Setup the serial port
90 #mainboardinit superiowinbond/w83627hf/setup_serial.inc
91 mainboardinit pc80/serial.inc
92 mainboardinit arch/i386/lib/console.inc
95 #### O.k. We aren't just an intermediary anymore!
99 ### When debugging disable the watchdog timer
101 ##option MAXIMUM_CONSOLE_LOGLEVEL=7
102 #default MAXIMUM_CONSOLE_LOGLEVEL=7
104 #if USE_FALLBACK_IMAGE mainboardinit arch/i386/lib/noop_failover.inc end
109 #makerule ./failover.E dep "$(MAINBOARD)/failover.c" act "$(CPP) -I$(TOP)/src $(CPPFLAGS) $(MAINBOARD)/failover.c > ./failever.E"
110 #makerule ./failover.inc dep "./romcc ./failover.E" act "./romcc -O ./failover.E > failover.inc"
111 #mainboardinit .failover.inc
113 makerule ./failover.E
114 depends "$(MAINBOARD)/failover.c"
115 action "$(CPP) -I$(TOP)/src $(ROMCCPPFLAGS) $(CPPFLAGS) $(MAINBOARD)/failover.c > ./failover.E"
118 makerule ./failover.inc
119 depends "./romcc ./failover.E"
120 action "./romcc -O -o failover.inc --label-prefix=failover ./failover.E"end
123 depends "$(MAINBOARD)/auto.c"
124 action "$(CPP) -I$(TOP)/src $(ROMCCPPFLAGS) $(CPPFLAGS) $(MAINBOARD)/auto.c > ./auto.E"
127 depends "./romcc ./auto.E"
128 action "./romcc -O -mcpu=k8 -o auto.inc --label-prefix=auto ./auto.E"
129 # action "./romcc -mcpu=k8 -O ./auto.E > auto.inc"
131 mainboardinit cpu/k8/enable_mmx_sse.inc
132 mainboardinit ./auto.inc
133 mainboardinit cpu/k8/disable_mmx_sse.inc
136 ### Include the secondary Configuration files
138 northbridge amd/amdk8
140 southbridge amd/amd8111 "amd8111"
142 southbridge amd/amd8131 "amd8131"
144 southbridge amd/amd8151 "amd8151"
146 #mainboardinit archi386/smp/secondary.inc
148 # register "com1" = "{1}"
149 # register "lpt" = "{1}"
152 ##dir /src/superio/winbond/w83627hf
155 register "up" = "{.chip = &amd8151, .ht_width=16, .ht_speed=600}"
156 register "down" = "{.chip = &amd8131, .ht_width=16, .ht_speed=600}"