updated
authorGreg Watson <jarrah@users.sourceforge.net>
Sat, 17 Apr 2004 02:49:43 +0000 (02:49 +0000)
committerGreg Watson <jarrah@users.sourceforge.net>
Sat, 17 Apr 2004 02:49:43 +0000 (02:49 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1513 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/mainboard/via/epia-m/Config.lb
src/mainboard/via/epia-m/auto.c
src/mainboard/via/epia-m/mainboard.c
src/northbridge/via/vt8623/chip.h
src/northbridge/via/vt8623/northbridge.c
src/northbridge/via/vt8623/northbridge.h
src/northbridge/via/vt8623/raminit.c
targets/via/epia-m/Config.512kflash.lb
targets/via/epia-m/Config.filo.lb
targets/via/epia-m/Config.lb

index 0450b2b1b910f32418cdea2625b0a8d7bf081a97..ed43611162ad8be8de08380964683ea006e892c6 100644 (file)
@@ -210,18 +210,8 @@ mainboardinit ./auto.inc
 dir /pc80
 config chip.h
 
-northbridge via/vt8601 "vt8601"
-#      pci 0:0.0
-#      pci 0:1.0
-       southbridge via/vt8231 "vt8231"
-#              pci 0:11.0
-#              pci 0:11.1
-#              pci 0:11.2
-#              pci 0:11.3
-#              pci 0:11.4
-#              pci 0:11.5
-#              pci 0:11.6
-#              pci 0:12.0
+northbridge via/vt8623 "vt8623"
+       southbridge via/vt8235 "vt8235"
                register "enable_usb" = "0"
                register "enable_native_ide" = "0"
                register "enable_com_ports" = "1"
index 3e40d04e8ac844d7d479dbe72e0c02049226b00e..20e85e46454e9f2208c7ee696c02a6b9857e78ea 100644 (file)
@@ -10,7 +10,7 @@
 #include "pc80/serial.c"
 #include "arch/i386/lib/console.c"
 #include "ram/ramtest.c"
-#include "northbridge/via/vt8601/raminit.h"
+#include "northbridge/via/vt8623/raminit.h"
 #include "cpu/p6/earlymtrr.c"
 
 /*
@@ -26,10 +26,10 @@ void udelay(int usecs)
 #include "cpu/p6/boot_cpu.c"
 #include "debug.c"
 
-#include "southbridge/via/vt8231/vt8231_early_smbus.c"
+#include "southbridge/via/vt8231/vt8235_early_smbus.c"
 
 
-#include "southbridge/via/vt8231/vt8231_early_serial.c"
+#include "southbridge/via/vt8231/vt8235_early_serial.c"
 static void memreset_setup(void)
 {
 }
@@ -58,7 +58,7 @@ static void enable_mainboard_devices(void)
        device_t dev;
        /* dev 0 for southbridge */
   
-       dev = pci_locate_device(PCI_ID(0x1106,0x8231), 0);
+       dev = pci_locate_device(PCI_ID(0x1106,0x8235), 0);
   
        if (dev == PCI_DEV_INVALID) {
                die("Southbridge not found!!!\n");
@@ -99,7 +99,7 @@ static void main(void)
        /*      init_timer();*/
        outb(5, 0x80);
        
-       enable_vt8231_serial();
+       enable_vt8235_serial();
 
        uart_init();
        console_init();
index df52081ac7f74cde65060c2883a2f3d1b417b2d9..9d73a3dc25f933f6f49c31513f4b5405c02ce7ae 100644 (file)
@@ -40,6 +40,6 @@ static void enumerate(struct chip *chip)
 }
 struct chip_control mainboard_via_epia_control = {
        .enumerate = enumerate, 
-       .name      = "VIA EPIA mainboard ",
+       .name      = "VIA EPIA-M mainboard ",
 };
 
index b689f0dedd7d5c011845380c240ad905b44cc172..36bd3e93ffd99cdfa617ece9d97295884a041580 100644 (file)
@@ -1,5 +1,5 @@
-struct northbridge_via_vt8601_config
+struct northbridge_via_vt8623_config
 {
 };
 
-extern struct chip_control northbridge_via_vt8601_control;
+extern struct chip_control northbridge_via_vt8623_control;
index 5f5e5d9dd82ce8909d3b25b74957913b3c5eed6f..db5d831d74a4b97264b41e3ed749570a47b50bdd 100644 (file)
@@ -80,7 +80,7 @@ static void enumerate(struct chip *chip)
 static void random_fixup() {
        device_t pcidev = dev_find_slot(0, 0);
 
-       printk_spew("VT8601 random fixup ...\n");
+       printk_spew("VT8623 random fixup ...\n");
        if (pcidev) {
                pci_write_config8(pcidev, 0x70, 0xc0);
                pci_write_config8(pcidev, 0x71, 0x88);
@@ -95,8 +95,8 @@ static void random_fixup() {
 static void northbridge_init(struct chip *chip, enum chip_pass pass)
 {
 
-       struct northbridge_via_vt8601_config *conf = 
-               (struct northbridge_via_vt8601_config *)chip->chip_info;
+       struct northbridge_via_vt8623_config *conf = 
+               (struct northbridge_via_vt8623_config *)chip->chip_info;
 
        switch (pass) {
        case CONF_PASS_PRE_PCI:
@@ -115,8 +115,8 @@ static void northbridge_init(struct chip *chip, enum chip_pass pass)
        }
 }
 
-struct chip_control northbridge_via_vt8601_control = {
+struct chip_control northbridge_via_vt8623_control = {
        .enumerate = enumerate,
        .enable    = northbridge_init,
-       .name      = "VIA vt8601 Northbridge",
+       .name      = "VIA vt8623 Northbridge",
 };
index d7f8e605b8c09ceb3fc30b8f94996b51c0ff8aea..ef63ebea787679edd0e071f911873209b24f4394 100644 (file)
@@ -1,6 +1,6 @@
-#ifndef NORTHBRIDGE_VIA_VT8601_H
-#define NORTHBRIDGE_VIA_VT8601_H
+#ifndef NORTHBRIDGE_VIA_VT8623_H
+#define NORTHBRIDGE_VIA_VT8623_H
 
-extern unsigned int vt8601_scan_root_bus(device_t root, unsigned int max);
+extern unsigned int vt8623_scan_root_bus(device_t root, unsigned int max);
 
-#endif /* NORTHBRIDGE_VIA_VT8601_H */
+#endif /* NORTHBRIDGE_VIA_VT8623_H */
index f295c9c7371210534ab6b0a806ad748190961751..f7c0a10fb0b898d28caec5606ec587473b59e372 100644 (file)
@@ -105,8 +105,8 @@ static void sdram_set_registers(const struct mem_controller *ctrl)
        device_t north = (device_t) 0;
        uint8_t c, r;
 
-       print_err("vt8601 init starting\r\n");
-       north = pci_locate_device(PCI_ID(0x1106, 0x8601), 0);
+       print_err("vt8623 init starting\r\n");
+       north = pci_locate_device(PCI_ID(0x1106, 0x8623), 0);
        north = 0;
        print_debug_hex32(north);
        print_debug(" is the north\n");
@@ -389,6 +389,6 @@ static void sdram_enable(int controllers, const struct mem_controller *ctrl)
                print_debug(" is the MA type\r\n");
                set_ma_mapping(north, slot, ma);
        }
-       print_err("vt8601 done\r\n");
+       print_err("vt8623 done\r\n");
        dumpnorth(north);
 }
index 732333ee89967f1bfaa4701560a212cc2ab05131..6c9bc5d898dc33ebf95d873084e99cc4fdcbe10f 100644 (file)
@@ -1,9 +1,9 @@
-# Sample config file for EPIA
-# This will make a target directory of ./epia.512kflash
+# Sample config file for EPIA-M
+# This will make a target directory of ./epia-m.512kflash
 
 loadoptions
 
-target epia.512kflash
+target epia-m.512kflash
 
 uses ARCH
 uses CONFIG_COMPRESS
@@ -87,7 +87,7 @@ romimage "normal"
        option USE_FALLBACK_IMAGE=0
        option ROM_IMAGE_SIZE=0x10000
        option LINUXBIOS_EXTRA_VERSION=".0Normal"
-       mainboard via/epia
+       mainboard via/epia-m
 #      payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
 #      payload ../../../../tg3--ide_disk.zelf  
        payload ../../../../../lnxieepro100.ebi
@@ -97,7 +97,7 @@ romimage "fallback"
        option USE_FALLBACK_IMAGE=1
        option ROM_IMAGE_SIZE=0x10000
        option LINUXBIOS_EXTRA_VERSION=".0Fallback"
-       mainboard via/epia
+       mainboard via/epia-m
 #      payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
 #      payload ../../../../tg3--ide_disk.zelf  
        payload ../../../../../lnxieepro100.ebi
index bc69e5b8f1c75b43e1e4be6d8d20e8bb51cc6a87..8afc770066af97c679d4f16e8f52fb1f8435ed82 100644 (file)
@@ -1,9 +1,9 @@
-# Sample config file for EPIA
-# This will make a target directory of ./epia
+# Sample config file for EPIA-M
+# This will make a target directory of ./epia-m
 
 loadoptions
 
-target epia
+target epia-m
 
 uses ARCH
 uses CONFIG_COMPRESS
@@ -85,7 +85,7 @@ romimage "normal"
        option USE_FALLBACK_IMAGE=0
        option ROM_IMAGE_SIZE=0x10000
        option LINUXBIOS_EXTRA_VERSION=".0Normal"
-       mainboard via/epia
+       mainboard via/epia-m
 #      payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
 #      payload ../../../../tg3--ide_disk.zelf  
 #      payload ../../../../../lnxieepro100.ebi
@@ -96,7 +96,7 @@ romimage "fallback"
        option USE_FALLBACK_IMAGE=1
        option ROM_IMAGE_SIZE=0x10000
        option LINUXBIOS_EXTRA_VERSION=".0Fallback"
-       mainboard via/epia
+       mainboard via/epia-m
 #      payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
 #      payload ../../../../tg3--ide_disk.zelf  
 #      payload ../../../../../lnxieepro100.ebi
index 0f95f9f367a613034474e3f85d8b43ba68da9870..b19858da9866cf2d36dcc45a75dda9150525c47d 100644 (file)
@@ -1,9 +1,9 @@
-# Sample config file for EPIA
-# This will make a target directory of ./epia
+# Sample config file for EPIA-M
+# This will make a target directory of ./epia-m
 
 loadoptions
 
-target epia
+target epia-m
 
 uses ARCH
 uses CONFIG_COMPRESS
@@ -88,7 +88,7 @@ romimage "normal"
        option USE_FALLBACK_IMAGE=0
        option ROM_IMAGE_SIZE=0x10000
        option LINUXBIOS_EXTRA_VERSION=".0Normal"
-       mainboard via/epia
+       mainboard via/epia-m
 #      payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
 #      payload ../../../../tg3--ide_disk.zelf  
        payload ../../../../../lnxieepro100.ebi
@@ -98,7 +98,7 @@ romimage "fallback"
        option USE_FALLBACK_IMAGE=1
        option ROM_IMAGE_SIZE=0x10000
        option LINUXBIOS_EXTRA_VERSION=".0Fallback"
-       mainboard via/epia
+       mainboard via/epia-m
 #      payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
 #      payload ../../../../tg3--ide_disk.zelf  
        payload ../../../../../lnxieepro100.ebi