new static configuration

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1016 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Greg Watson 2003-07-23 21:33:03 +00:00
parent b87b2b89b2
commit 39264e2b3b
3 changed files with 27 additions and 1 deletions

View File

@ -1 +1,2 @@
config chip.h
object w83c553f.o object w83c553f.o

View File

@ -0,0 +1,2 @@
struct southbridge_winbond_w83c553_config {
};

View File

@ -29,8 +29,10 @@
#include <arch/io.h> #include <arch/io.h>
#include <device/pci.h> #include <device/pci.h>
#include <device/chip.h>
#include <console/console.h> #include <console/console.h>
#include "w83c553f.h" #include "w83c553f.h"
#include "chip.h"
#ifndef CONFIG_ISA_MEM #ifndef CONFIG_ISA_MEM
#define CONFIG_ISA_MEM 0xFD000000 #define CONFIG_ISA_MEM 0xFD000000
@ -69,7 +71,7 @@ void southbridge_early_init(void)
} }
#endif #endif
void southbridge_init(void) void w83c553_init(void)
{ {
struct device *dev; struct device *dev;
unsigned char reg8; unsigned char reg8;
@ -283,3 +285,24 @@ void initialise_dma(void)
outb(W83C553F_DMA1 + W83C553F_DMA1_CS, 0x00); outb(W83C553F_DMA1 + W83C553F_DMA1_CS, 0x00);
outw(W83C553F_DMA2 + W83C553F_DMA2_CS, 0x0000); outw(W83C553F_DMA2 + W83C553F_DMA2_CS, 0x0000);
} }
void southbridge_init(struct chip *chip, enum chip_pass pass)
{
struct southbridge_winbond_w83c553_config *conf = (struct southbridge_winbond_w83c553_config *)chip->chip_info;
switch (pass) {
case CONF_PASS_POST_PCI:
w83c553_init();
break;
default:
/* nothing yet */
break;
}
}
struct chip_control southbridge_winbond_w83c553_control = {
enable: southbridge_init,
name: "Winbond W83C553"
};