summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-08-21 11:37:11 +0300
committerAnton Kochkov <anton.kochkov@gmail.com>2012-08-22 05:06:41 +0200
commitfee73df07ac0d17f319486f977585c7945e0d069 (patch)
tree001bb70616c06ef24c267ac257dccc498eac227c /src/cpu/amd
parent0d5d70b79a3824bfa46a7035d901cb0e7672e3fe (diff)
Auto-declare chip_operations
The name is derived directly from the device path. Change-Id: If2053d14f0e38a5ee0159b47a66d45ff3dff649a Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1471 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Diffstat (limited to 'src/cpu/amd')
-rw-r--r--src/cpu/amd/agesa/family10/chip.h2
-rw-r--r--src/cpu/amd/agesa/family12/chip.h2
-rw-r--r--src/cpu/amd/agesa/family14/chip.h2
-rw-r--r--src/cpu/amd/agesa/family15/chip.h2
-rw-r--r--src/cpu/amd/agesa/family15tn/chip.h2
-rw-r--r--src/cpu/amd/sc520/chip.h2
-rw-r--r--src/cpu/amd/socket_754/chip.h2
-rw-r--r--src/cpu/amd/socket_939/chip.h2
-rw-r--r--src/cpu/amd/socket_940/chip.h2
-rw-r--r--src/cpu/amd/socket_AM2/chip.h2
-rw-r--r--src/cpu/amd/socket_AM2r2/chip.h2
-rw-r--r--src/cpu/amd/socket_AM3/chip.h2
-rw-r--r--src/cpu/amd/socket_ASB2/chip.h2
-rw-r--r--src/cpu/amd/socket_C32/chip.h2
-rw-r--r--src/cpu/amd/socket_F/chip.h2
-rw-r--r--src/cpu/amd/socket_F_1207/chip.h2
-rw-r--r--src/cpu/amd/socket_S1G1/chip.h2
17 files changed, 0 insertions, 34 deletions
diff --git a/src/cpu/amd/agesa/family10/chip.h b/src/cpu/amd/agesa/family10/chip.h
index d5a749b3c6..4f9fa770bf 100644
--- a/src/cpu/amd/agesa/family10/chip.h
+++ b/src/cpu/amd/agesa/family10/chip.h
@@ -17,7 +17,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-extern struct chip_operations cpu_amd_agesa_family10_ops;
-
struct cpu_amd_agesa_family10_config {
};
diff --git a/src/cpu/amd/agesa/family12/chip.h b/src/cpu/amd/agesa/family12/chip.h
index f63a87f5d9..0eaa0e2789 100644
--- a/src/cpu/amd/agesa/family12/chip.h
+++ b/src/cpu/amd/agesa/family12/chip.h
@@ -17,7 +17,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-extern struct chip_operations cpu_amd_agesa_family12_ops;
-
struct cpu_amd_agesa_family12_config {
};
diff --git a/src/cpu/amd/agesa/family14/chip.h b/src/cpu/amd/agesa/family14/chip.h
index d67184e306..59c7cfeb67 100644
--- a/src/cpu/amd/agesa/family14/chip.h
+++ b/src/cpu/amd/agesa/family14/chip.h
@@ -17,7 +17,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-extern struct chip_operations cpu_amd_agesa_family14_ops;
-
struct cpu_amd_agesa_family14_config {
};
diff --git a/src/cpu/amd/agesa/family15/chip.h b/src/cpu/amd/agesa/family15/chip.h
index 0171e7fcd0..e6daaefd58 100644
--- a/src/cpu/amd/agesa/family15/chip.h
+++ b/src/cpu/amd/agesa/family15/chip.h
@@ -17,7 +17,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-extern struct chip_operations cpu_amd_agesa_family15_ops;
-
struct cpu_amd_agesa_family15_config {
};
diff --git a/src/cpu/amd/agesa/family15tn/chip.h b/src/cpu/amd/agesa/family15tn/chip.h
index cf8294f161..5ad93c5e0c 100644
--- a/src/cpu/amd/agesa/family15tn/chip.h
+++ b/src/cpu/amd/agesa/family15tn/chip.h
@@ -17,7 +17,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-extern struct chip_operations cpu_amd_agesa_family15tn_ops;
-
struct cpu_amd_agesa_family15tn_config {
};
diff --git a/src/cpu/amd/sc520/chip.h b/src/cpu/amd/sc520/chip.h
index b16db54a5a..64f3a85afc 100644
--- a/src/cpu/amd/sc520/chip.h
+++ b/src/cpu/amd/sc520/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations cpu_amd_sc520_ops;
-
struct cpu_amd_sc520_config {
};
diff --git a/src/cpu/amd/socket_754/chip.h b/src/cpu/amd/socket_754/chip.h
index d9f3600b2c..197145faf6 100644
--- a/src/cpu/amd/socket_754/chip.h
+++ b/src/cpu/amd/socket_754/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations cpu_amd_socket_754_ops;
-
struct cpu_amd_socket_754_config {
};
diff --git a/src/cpu/amd/socket_939/chip.h b/src/cpu/amd/socket_939/chip.h
index 2a635b7477..ca934512b2 100644
--- a/src/cpu/amd/socket_939/chip.h
+++ b/src/cpu/amd/socket_939/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations cpu_amd_socket_939_ops;
-
struct cpu_amd_socket_939_config {
};
diff --git a/src/cpu/amd/socket_940/chip.h b/src/cpu/amd/socket_940/chip.h
index 7154dd1593..8b966141b5 100644
--- a/src/cpu/amd/socket_940/chip.h
+++ b/src/cpu/amd/socket_940/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations cpu_amd_socket_940_ops;
-
struct cpu_amd_socket_940_config {
};
diff --git a/src/cpu/amd/socket_AM2/chip.h b/src/cpu/amd/socket_AM2/chip.h
index 6b3290c90e..5d9e875320 100644
--- a/src/cpu/amd/socket_AM2/chip.h
+++ b/src/cpu/amd/socket_AM2/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations cpu_amd_socket_AM2_ops;
-
struct cpu_amd_socket_AM2_config {
};
diff --git a/src/cpu/amd/socket_AM2r2/chip.h b/src/cpu/amd/socket_AM2r2/chip.h
index fe49ad2851..1c93a99bd5 100644
--- a/src/cpu/amd/socket_AM2r2/chip.h
+++ b/src/cpu/amd/socket_AM2r2/chip.h
@@ -17,7 +17,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-extern struct chip_operations cpu_amd_socket_AM2r2_ops;
-
struct cpu_amd_socket_AM2r2_config {
};
diff --git a/src/cpu/amd/socket_AM3/chip.h b/src/cpu/amd/socket_AM3/chip.h
index 16e0935225..70f6b1fcbb 100644
--- a/src/cpu/amd/socket_AM3/chip.h
+++ b/src/cpu/amd/socket_AM3/chip.h
@@ -17,7 +17,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-extern struct chip_operations cpu_amd_socket_AM3_ops;
-
struct cpu_amd_socket_AM3_config {
};
diff --git a/src/cpu/amd/socket_ASB2/chip.h b/src/cpu/amd/socket_ASB2/chip.h
index 3a53696630..5939c2b71d 100644
--- a/src/cpu/amd/socket_ASB2/chip.h
+++ b/src/cpu/amd/socket_ASB2/chip.h
@@ -17,7 +17,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-extern struct chip_operations cpu_amd_socket_ASB2_ops;
-
struct cpu_amd_socket_ASB2_config {
};
diff --git a/src/cpu/amd/socket_C32/chip.h b/src/cpu/amd/socket_C32/chip.h
index 0e06de56e7..e9d57c7a7a 100644
--- a/src/cpu/amd/socket_C32/chip.h
+++ b/src/cpu/amd/socket_C32/chip.h
@@ -17,7 +17,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-extern struct chip_operations cpu_amd_socket_C32_ops;
-
struct cpu_amd_socket_C32_config {
};
diff --git a/src/cpu/amd/socket_F/chip.h b/src/cpu/amd/socket_F/chip.h
index ce2fde0bff..cb582d3f61 100644
--- a/src/cpu/amd/socket_F/chip.h
+++ b/src/cpu/amd/socket_F/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations cpu_amd_socket_F_ops;
-
struct cpu_amd_socket_F_config {
};
diff --git a/src/cpu/amd/socket_F_1207/chip.h b/src/cpu/amd/socket_F_1207/chip.h
index 95b13e237d..3f7d8242e3 100644
--- a/src/cpu/amd/socket_F_1207/chip.h
+++ b/src/cpu/amd/socket_F_1207/chip.h
@@ -17,7 +17,5 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-extern struct chip_operations cpu_amd_socket_F_1207_ops;
-
struct cpu_amd_socket_F_1207_config {
};
diff --git a/src/cpu/amd/socket_S1G1/chip.h b/src/cpu/amd/socket_S1G1/chip.h
index 826c7067a9..3109da265e 100644
--- a/src/cpu/amd/socket_S1G1/chip.h
+++ b/src/cpu/amd/socket_S1G1/chip.h
@@ -1,4 +1,2 @@
-extern struct chip_operations cpu_amd_socket_S1G1_ops;
-
struct cpu_amd_socket_S1G1_config {
};