diff options
author | Eric Biederman <ebiederm@xmission.com> | 2004-10-16 06:20:29 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2004-10-16 06:20:29 +0000 |
commit | 7003ba4a88a847707c55d593e517eaa70fc8c63d (patch) | |
tree | ad29fcd2fde474cb9bdd32835a76101edabe1ef9 /src/southbridge/amd | |
parent | 216525d1fd86c13e0f1ebe85ba518cdc1da06fcb (diff) | |
download | coreboot-7003ba4a88a847707c55d593e517eaa70fc8c63d.tar.xz |
- First stab at running linuxbios without the old static device tree.
Things are close but not quite there yet.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1681 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r-- | src/southbridge/amd/amd8111/Config.lb | 2 | ||||
-rw-r--r-- | src/southbridge/amd/amd8111/amd8111.c | 3 | ||||
-rw-r--r-- | src/southbridge/amd/amd8111/amd8111.h | 6 | ||||
-rw-r--r-- | src/southbridge/amd/amd8111/amd8111_lpc.c | 1 |
4 files changed, 3 insertions, 9 deletions
diff --git a/src/southbridge/amd/amd8111/Config.lb b/src/southbridge/amd/amd8111/Config.lb index 2a55714eec..8575c2b1eb 100644 --- a/src/southbridge/amd/amd8111/Config.lb +++ b/src/southbridge/amd/amd8111/Config.lb @@ -1,4 +1,4 @@ -config amd8111.h +config chip.h driver amd8111.o #driver amd8111_usb.o driver amd8111_lpc.o diff --git a/src/southbridge/amd/amd8111/amd8111.c b/src/southbridge/amd/amd8111/amd8111.c index 2c5d1e80fe..afb02f1fec 100644 --- a/src/southbridge/amd/amd8111/amd8111.c +++ b/src/southbridge/amd/amd8111/amd8111.c @@ -2,7 +2,6 @@ #include <device/device.h> #include <device/pci.h> #include <device/pci_ids.h> -#include <device/chip.h> #include "amd8111.h" void amd8111_enable(device_t dev) @@ -62,7 +61,7 @@ void amd8111_enable(device_t dev) } -struct chip_control southbridge_amd_amd8111_control = { +struct chip_operations southbridge_amd_amd8111_ops = { .name = "AMD 8111 Southbridge", .enable_dev = amd8111_enable, }; diff --git a/src/southbridge/amd/amd8111/amd8111.h b/src/southbridge/amd/amd8111/amd8111.h index 10e152954f..da4fa1d840 100644 --- a/src/southbridge/amd/amd8111/amd8111.h +++ b/src/southbridge/amd/amd8111/amd8111.h @@ -1,11 +1,7 @@ #ifndef AMD8111_H #define AMD8111_H -struct southbridge_amd_amd8111_config -{ -}; -struct chip_control; -extern struct chip_control southbridge_amd_amd8111_control; +#include "chip.h" void amd8111_enable(device_t dev); diff --git a/src/southbridge/amd/amd8111/amd8111_lpc.c b/src/southbridge/amd/amd8111/amd8111_lpc.c index 9c5b5a674e..ff767c7cc4 100644 --- a/src/southbridge/amd/amd8111/amd8111_lpc.c +++ b/src/southbridge/amd/amd8111/amd8111_lpc.c @@ -6,7 +6,6 @@ #include <device/pci.h> #include <device/pci_ids.h> #include <device/pci_ops.h> -#include <device/chip.h> #include <pc80/mc146818rtc.h> #include "amd8111.h" |