summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2004-10-16 09:13:23 +0000
committerEric Biederman <ebiederm@xmission.com>2004-10-16 09:13:23 +0000
commit858ac5c5cd299156cbe79be1cb50f2a7a582b61c (patch)
tree1ea77ed8191d3d3d268e28c0ecbbcd3154787422
parent92986807bb589e2b98470155c580828bb1a2838b (diff)
downloadcoreboot-858ac5c5cd299156cbe79be1cb50f2a7a582b61c.tar.xz
- 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
-rw-r--r--src/southbridge/intel/i82801dbm/Config.lb2
-rw-r--r--src/southbridge/intel/i82801dbm/chip.h12
-rw-r--r--src/southbridge/intel/i82801dbm/i82801dbm.h9
-rw-r--r--src/southbridge/intel/i82801er/Config.lb2
-rw-r--r--src/southbridge/intel/i82801er/chip.h10
-rw-r--r--src/southbridge/intel/i82801er/i82801er.h6
6 files changed, 26 insertions, 15 deletions
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);
/*
diff --git a/src/southbridge/intel/i82801er/Config.lb b/src/southbridge/intel/i82801er/Config.lb
index cc77c755a7..b2d7d65baa 100644
--- a/src/southbridge/intel/i82801er/Config.lb
+++ b/src/southbridge/intel/i82801er/Config.lb
@@ -1,4 +1,4 @@
-config i82801er.h
+config chip.h
driver i82801er.o
driver i82801er_usb.o
driver i82801er_lpc.o
diff --git a/src/southbridge/intel/i82801er/chip.h b/src/southbridge/intel/i82801er/chip.h
new file mode 100644
index 0000000000..c7cfa14232
--- /dev/null
+++ b/src/southbridge/intel/i82801er/chip.h
@@ -0,0 +1,10 @@
+#ifndef I82801ER_CHIP_H
+#define I82801ER_CHIP_H
+
+struct southbridge_intel_i82801er_config
+{
+};
+struct chip_operations;
+extern struct chip_operations southbridge_intel_i82801er_ops;
+
+#endif /* I82801ER_CHIP_H */
diff --git a/src/southbridge/intel/i82801er/i82801er.h b/src/southbridge/intel/i82801er/i82801er.h
index 85dce4ecb7..56ba634cc5 100644
--- a/src/southbridge/intel/i82801er/i82801er.h
+++ b/src/southbridge/intel/i82801er/i82801er.h
@@ -1,11 +1,7 @@
#ifndef I82801ER_H
#define I82801ER_H
-struct southbridge_intel_i82801er_config
-{
-};
-struct chip_control;
-extern struct chip_control southbridge_intel_i82801er_control;
+#include "chip.h"
extern void i82801er_enable(device_t dev);