From 858ac5c5cd299156cbe79be1cb50f2a7a582b61c Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Sat, 16 Oct 2004 09:13:23 +0000 Subject: - Make all ports use config.h for if they have chip_config or chip_info structures. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1684 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/intel/i82801dbm/Config.lb | 2 +- src/southbridge/intel/i82801dbm/chip.h | 12 ++++++++++++ src/southbridge/intel/i82801dbm/i82801dbm.h | 9 +-------- 3 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 src/southbridge/intel/i82801dbm/chip.h (limited to 'src/southbridge/intel/i82801dbm') diff --git a/src/southbridge/intel/i82801dbm/Config.lb b/src/southbridge/intel/i82801dbm/Config.lb index 75fccaa8e1..bdbbe4f515 100644 --- a/src/southbridge/intel/i82801dbm/Config.lb +++ b/src/southbridge/intel/i82801dbm/Config.lb @@ -1,4 +1,4 @@ -config i82801dbm.h +config chip.h driver i82801dbm.o driver i82801dbm_usb.o driver i82801dbm_lpc.o diff --git a/src/southbridge/intel/i82801dbm/chip.h b/src/southbridge/intel/i82801dbm/chip.h new file mode 100644 index 0000000000..e1e3da0e6f --- /dev/null +++ b/src/southbridge/intel/i82801dbm/chip.h @@ -0,0 +1,12 @@ +#ifndef I82801DBM_CHIP_H +#define I82801DBM_CHIP_H + +struct southbridge_intel_i82801dbm_config +{ + int enable_usb; + int enable_native_ide; +}; +struct chip_operations; +extern struct chip_operations southbridge_intel_i82801dbm_ops; + +#endif /* I82801DBM_CHIP_H */ diff --git a/src/southbridge/intel/i82801dbm/i82801dbm.h b/src/southbridge/intel/i82801dbm/i82801dbm.h index 5b65e1489b..824d23a0b6 100644 --- a/src/southbridge/intel/i82801dbm/i82801dbm.h +++ b/src/southbridge/intel/i82801dbm/i82801dbm.h @@ -9,14 +9,7 @@ #ifndef I82801DBM_H #define I82801DBM_H -struct southbridge_intel_i82801dbm_config -{ - int enable_usb; - int enable_native_ide; -}; -struct chip_control; -extern struct chip_control southbridge_intel_i82801dbm_control; - +#include "chip.h" extern void i82801dbm_enable(device_t dev); /* -- cgit v1.2.3