arima updates
[coreboot.git] / src / mainboard / arima / hdama / Config.lb
1 #
2 #
3 ###
4 ### Set all of the defaults for an x86 architecture
5 ###
6 #
7 #
8 ###
9 ### Build the objects we have code for in this directory.
10 ###
11 ##object mainboard.o
12 driver mainboard.o
13 object static_devices.o
14 if HAVE_MP_TABLE object mptable.o end
15 if HAVE_PIRQ_TABLE object irq_tables.o end
16 #
17 arch i386 end
18 cpu k8 end
19 #
20 ###
21 ### Build our 16 bit and 32 bit linuxBIOS entry code
22 ###
23 mainboardinit cpu/i386/entry16.inc
24 mainboardinit cpu/i386/entry32.inc
25 ldscript /cpu/i386/entry16.lds
26 ldscript /cpu/i386/entry32.lds
27 #
28 ###
29 ### Build our reset vector (This is where linuxBIOS is entered)
30 ###
31 if USE_FALLBACK_IMAGE 
32   mainboardinit cpu/i386/reset16.inc 
33   ldscript /cpu/i386/reset16.lds 
34 end
35
36 if USE_NORMAL_IMAGE
37   mainboardinit cpu/i386/reset32.inc 
38   ldscript /cpu/i386/reset32.lds 
39 end
40 #
41 #### Should this be in the northbridge code?
42 #mainboardinit archi386/lib/cpu_reset.inc
43 #
44 ###
45 ### Include an id string (For safe flashing)
46 ###
47 mainboardinit arch/i386/lib/id.inc
48 ldscript /arch/i386/lib/id.lds
49 #
50 ####
51 #### This is the early phase of linuxBIOS startup 
52 #### Things are delicate and we test to see if we should
53 #### failover to another image.
54 ####
55 #option MAX_REBOOT_CNT=2
56 ##ldscript arch/i386/lib/failover.lds USE_FALLBACK_IMAGE
57 #
58 ###
59 ### Setup our mtrrs
60 ###
61 mainboardinit cpu/k8/earlymtrr.inc
62 #
63 #
64 ###
65 ### Only the bootstrap cpu makes it here.
66 ### Failover if we need to 
67 ###
68 #
69 if USE_FALLBACK_IMAGE
70   mainboardinit southbridge/amd/amd8111/cmos_boot_failover.inc 
71 end
72 #
73 ####
74 #### O.k. We aren't just an intermediary anymore!
75 ####
76 #
77 ###
78 ### When debugging disable the watchdog timer
79 ###
80 ##option MAXIMUM_CONSOLE_LOGLEVEL=7
81 #default MAXIMUM_CONSOLE_LOGLEVEL=7
82 #option DISABLE_WATCHDOG= (MAXIMUM_CONSOLE_LOGLEVEL >= 8) 
83 #if DISABLE_WATCHDOG
84 #  mainboardinit southbridgeamd/amd8111/disable_watchdog.inc 
85 #end
86 #
87 ###
88 ### Setup the serial port
89 ###
90 #mainboardinit superiowinbond/w83627hf/setup_serial.inc
91 mainboardinit pc80/serial.inc
92 mainboardinit arch/i386/lib/console.inc
93 if USE_FALLBACK_IMAGE mainboardinit archi386/lib/noop_failover.inc  end
94 #
95 ###
96 ### Romcc output
97 ###
98 #makerule ./failover.E dep "$(MAINBOARD)/failover.c" act "$(CPP) -I$(TOP)/src $(CPPFLAGS) $(MAINBOARD)/failover.c > ./failever.E"
99 #makerule ./failover.inc dep "./romcc ./failover.E" act "./romcc -O ./failover.E > failover.inc"
100 #mainboardinit .failover.inc
101 makerule ./auto.E dep "$(MAINBOARD)/auto.c" act "$(CPP) -I$(TOP)/src -$(ROMCCPPFLAGS) $(CPPFLAGS) $(MAINBOARD)/auto.c > ./auto.E"
102 makerule ./auto.inc dep "./romcc ./auto.E" act "./romcc -O ./auto.E > auto.inc"
103 mainboardinit ./auto.inc
104 #
105 ###
106 ### Setup RAM
107 ###
108 mainboardinit ram/ramtest.inc
109 mainboardinit southbridge/amd/amd8111/smbus.inc
110 mainboardinit sdram/generic_dump_spd.inc
111 #
112 ###
113 ### Include the secondary Configuration files 
114 ###
115 northbridge amd/amdk8
116 end
117 southbridge amd/amd8111
118 end
119 #mainboardinit archi386/smp/secondary.inc
120 superio NSC/pc87360
121         register "com1={1} com2={0} floppy=1 lpt=1 keyboard=1"
122 end
123 dir /pc80
124 ##dir /src/superio/winbond/w83627hf
125 cpu p5 end
126 cpu p6 end
127 cpu k7 end
128 cpu k8 end