1 include /config/nofailovercalculation.lb
2 default CONFIG_ROM_PAYLOAD = 1
8 ## Build the objects we have code for in this directory.
12 if HAVE_MP_TABLE object mptable.o end
13 if HAVE_PIRQ_TABLE object irq_tables.o end
18 depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
19 action "$(CC) $(DISTRO_CFLAGS) $(CFLAGS) $(CPPFLAGS) -I$(TOP)/src -I. -nostdinc -nostdlib -fno-builtin -Wall -Os -c $(MAINBOARD)/cache_as_ram_auto.c -o $@"
25 depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
26 action "$(CC) $(DISTRO_CFLAGS) $(CFLAGS) $(CPPFLAGS) $(DEBUG_CFLAGS) -I$(TOP)/src -I. -nostdinc -nostdlib -fno-builtin -Wall -Os -c -S $(MAINBOARD)/cache_as_ram_auto.c -o $@"
27 action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
28 action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
33 ## Build our 16 bit and 32 bit coreboot entry code
36 mainboardinit cpu/x86/16bit/entry16.inc
37 ldscript /cpu/x86/16bit/entry16.lds
40 mainboardinit cpu/x86/32bit/entry32.inc
43 ldscript /cpu/x86/32bit/entry32.lds
47 ldscript /cpu/amd/car/cache_as_ram.lds
51 ## Build our reset vector (This is where coreboot is entered)
54 mainboardinit cpu/x86/16bit/reset16.inc
55 ldscript /cpu/x86/16bit/reset16.lds
57 mainboardinit cpu/x86/32bit/reset32.inc
58 ldscript /cpu/x86/32bit/reset32.lds
62 ## Include an id string (For safe flashing)
64 mainboardinit arch/i386/lib/id.inc
65 ldscript /arch/i386/lib/id.lds
70 mainboardinit cpu/amd/car/cache_as_ram.inc
73 ### This is the early phase of coreboot startup
74 ### Things are delicate and we test to see if we should
75 ### failover to another image.
78 ldscript /arch/i386/lib/failover.lds
87 mainboardinit ./auto.inc
91 ## Include the secondary Configuration files
95 # sample config for tyan/s4880
96 chip northbridge/amd/amdk8/root_complex
97 device apic_cluster 0 on
98 chip cpu/amd/socket_940
103 device pci_domain 0 on
104 chip northbridge/amd/amdk8
105 device pci 18.0 on end # LDT0
106 device pci 18.0 on end # LDT1
107 device pci 18.0 on # northbridge
108 # devices on link 2, link 2 == LDT 2
109 chip southbridge/amd/amd8131
110 # the on/off keyword is mandatory
112 # chip drivers/lsi/53c1030
113 # device pci 4.0 on end
114 # device pci 4.1 on end
115 # register "fw_address" = "0xfff8c000"
117 chip drivers/pci/onboard
118 device pci 9.0 on end
119 device pci 9.1 on end
122 device pci 0.1 on end
123 device pci 1.0 on end
124 device pci 1.1 on end
126 chip southbridge/amd/amd8111
127 # this "device pci 0.0" is the parent the next one
130 device pci 0.0 on end
131 device pci 0.1 on end
132 device pci 0.2 off end
133 device pci 1.0 off end
134 chip drivers/pci/onboard
135 device pci 6.0 on end
136 register "rom_address" = "0xfff80000"
140 chip superio/winbond/w83627hf
141 device pnp 2e.0 on # Floppy
146 device pnp 2e.1 off # Parallel Port
150 device pnp 2e.2 on # Com1
154 device pnp 2e.3 off # Com2
158 device pnp 2e.5 on # Keyboard
164 device pnp 2e.6 off # CIR
167 device pnp 2e.7 off # GAME_MIDI_GIPO1
172 device pnp 2e.8 off end # GPIO2
173 device pnp 2e.9 off end # GPIO3
174 device pnp 2e.a off end # ACPI
175 device pnp 2e.b on # HW Monitor
181 device pci 1.1 on end
182 device pci 1.2 on end
183 device pci 1.3 on end
184 device pci 1.5 off end
185 device pci 1.6 off end
186 register "ide0_enable" = "1"
187 register "ide1_enable" = "1"
189 end # device pci 18.0
191 device pci 18.1 on end
192 device pci 18.2 on end
193 device pci 18.3 on end