summaryrefslogtreecommitdiff
path: root/src/northbridge/via/vt8623
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2004-04-17 02:49:43 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2004-04-17 02:49:43 +0000
commitbad27b10c48d2b6ad7fbfeabc91bd1de594eed3b (patch)
tree4e6ac69e3df6ee298517f0e1850768775b04b464 /src/northbridge/via/vt8623
parent8e0586200b61cd5bf4a3f59bf7ac68efc6f9ac17 (diff)
downloadcoreboot-bad27b10c48d2b6ad7fbfeabc91bd1de594eed3b.tar.xz
updated
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1513 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/via/vt8623')
-rw-r--r--src/northbridge/via/vt8623/chip.h4
-rw-r--r--src/northbridge/via/vt8623/northbridge.c10
-rw-r--r--src/northbridge/via/vt8623/northbridge.h8
-rw-r--r--src/northbridge/via/vt8623/raminit.c6
4 files changed, 14 insertions, 14 deletions
diff --git a/src/northbridge/via/vt8623/chip.h b/src/northbridge/via/vt8623/chip.h
index b689f0dedd..36bd3e93ff 100644
--- a/src/northbridge/via/vt8623/chip.h
+++ b/src/northbridge/via/vt8623/chip.h
@@ -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;
diff --git a/src/northbridge/via/vt8623/northbridge.c b/src/northbridge/via/vt8623/northbridge.c
index 5f5e5d9dd8..db5d831d74 100644
--- a/src/northbridge/via/vt8623/northbridge.c
+++ b/src/northbridge/via/vt8623/northbridge.c
@@ -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",
};
diff --git a/src/northbridge/via/vt8623/northbridge.h b/src/northbridge/via/vt8623/northbridge.h
index d7f8e605b8..ef63ebea78 100644
--- a/src/northbridge/via/vt8623/northbridge.h
+++ b/src/northbridge/via/vt8623/northbridge.h
@@ -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 */
diff --git a/src/northbridge/via/vt8623/raminit.c b/src/northbridge/via/vt8623/raminit.c
index f295c9c737..f7c0a10fb0 100644
--- a/src/northbridge/via/vt8623/raminit.c
+++ b/src/northbridge/via/vt8623/raminit.c
@@ -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);
}