diff options
author | Li-Ta Lo <ollie@lanl.gov> | 2004-03-23 21:28:05 +0000 |
---|---|---|
committer | Li-Ta Lo <ollie@lanl.gov> | 2004-03-23 21:28:05 +0000 |
commit | e52666931a3e34895b3f3b92641de9774ab722ec (patch) | |
tree | 890bb66a0a16ec7a57230283f000ee91eeb0b384 /src/mainboard | |
parent | 9f46132e9627d24f3ad76619cf3340006a4012fb (diff) | |
download | coreboot-e52666931a3e34895b3f3b92641de9774ab722ec.tar.xz |
Doxidization, reformat
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1469 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/tyan/s2885/Config.lb | 18 | ||||
-rw-r--r-- | src/mainboard/via/epia/Config.lb | 3 | ||||
-rw-r--r-- | src/mainboard/via/epia/auto.c | 4 |
3 files changed, 17 insertions, 8 deletions
diff --git a/src/mainboard/tyan/s2885/Config.lb b/src/mainboard/tyan/s2885/Config.lb index f30d6aa0c5..7ff42d0189 100644 --- a/src/mainboard/tyan/s2885/Config.lb +++ b/src/mainboard/tyan/s2885/Config.lb @@ -6,17 +6,19 @@ uses LB_CKS_RANGE_END uses LB_CKS_LOC uses MAINBOARD uses ARCH + # # ### ### Set all of the defaults for an x86 architecture ### + # # ### ### Build the objects we have code for in this directory. ### -##object mainboard.o + config chip.h register "fixup_scsi" = "1" register "fixup_vga" = "1" @@ -38,9 +40,10 @@ driver mainboard.o object reset.o if HAVE_MP_TABLE object mptable.o end if HAVE_PIRQ_TABLE object irq_tables.o end + # arch i386 end -#cpu k8 end + # ### ### Build our 16 bit and 32 bit linuxBIOS entry code @@ -50,6 +53,7 @@ mainboardinit cpu/i386/entry32.inc mainboardinit cpu/i386/bist32.inc ldscript /cpu/i386/entry16.lds ldscript /cpu/i386/entry32.lds + # ### ### Build our reset vector (This is where linuxBIOS is entered) @@ -120,24 +124,30 @@ end makerule ./failover.inc depends "./romcc ./failover.E" - action "./romcc -O -o failover.inc --label-prefix=failover ./failover.E"end + action "./romcc -O -o failover.inc --label-prefix=failover ./failover.E" +end makerule ./auto.E depends "$(MAINBOARD)/auto.c option_table.h" action "$(CPP) -I$(TOP)/src -I. $(ROMCCPPFLAGS) $(CPPFLAGS) $(MAINBOARD)/auto.c > ./auto.E" end + makerule ./auto.inc depends "./romcc ./auto.E" action "./romcc -O -mcpu=k8 -o auto.inc --label-prefix=auto ./auto.E" # action "./romcc -mcpu=k8 -O ./auto.E > auto.inc" end + mainboardinit cpu/k8/enable_mmx_sse.inc mainboardinit ./auto.inc mainboardinit cpu/k8/disable_mmx_sse.inc + # ### ### Include the secondary Configuration files ### +dir /pc80 + northbridge amd/amdk8 "mc0" pci 0:18.0 pci 0:18.0 @@ -203,7 +213,7 @@ northbridge amd/amdk8 "mc1" pci 0:19.2 pci 0:19.3 end - + dir /pc80 #dir /bioscall diff --git a/src/mainboard/via/epia/Config.lb b/src/mainboard/via/epia/Config.lb index 8fb365926f..0450b2b1b9 100644 --- a/src/mainboard/via/epia/Config.lb +++ b/src/mainboard/via/epia/Config.lb @@ -78,7 +78,8 @@ default HEAP_SIZE=0x4000 ## ## Only use the option table in a normal image ## -default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE +#default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE +default USE_OPTION_TABLE = 0 ## ## Compute the location and size of where this firmware image diff --git a/src/mainboard/via/epia/auto.c b/src/mainboard/via/epia/auto.c index 5981d32759..3e40d04e8a 100644 --- a/src/mainboard/via/epia/auto.c +++ b/src/mainboard/via/epia/auto.c @@ -1,8 +1,5 @@ #define ASSEMBLY 1 -//#define MAXIMUM_CONSOLE_LOGLEVEL 6 -//#define DEFAULT_CONSOLE_LOGLEVEL 6 - #include <stdint.h> #include <device/pci_def.h> #include <cpu/p6/apic.h> @@ -15,6 +12,7 @@ #include "ram/ramtest.c" #include "northbridge/via/vt8601/raminit.h" #include "cpu/p6/earlymtrr.c" + /* */ void udelay(int usecs) |