summaryrefslogtreecommitdiff
path: root/src/northbridge/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/northbridge/amd
parent0d5d70b79a3824bfa46a7035d901cb0e7672e3fe (diff)
downloadcoreboot-fee73df07ac0d17f319486f977585c7945e0d069.tar.xz
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/northbridge/amd')
-rw-r--r--src/northbridge/amd/agesa/family10/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family10/root_complex/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family12/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family12/root_complex/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family14/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family14/root_complex/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family15/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family15/root_complex/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family15tn/chip.h1
-rw-r--r--src/northbridge/amd/agesa/family15tn/root_complex/chip.h1
-rw-r--r--src/northbridge/amd/amdfam10/chip.h1
-rw-r--r--src/northbridge/amd/amdfam10/root_complex/chip.h1
-rw-r--r--src/northbridge/amd/amdk8/chip.h1
-rw-r--r--src/northbridge/amd/amdk8/root_complex/chip.h1
-rw-r--r--src/northbridge/amd/cimx/rd890/chip.h3
-rw-r--r--src/northbridge/amd/gx1/chip.h1
-rw-r--r--src/northbridge/amd/gx2/chip.h1
-rw-r--r--src/northbridge/amd/lx/chip.h1
18 files changed, 0 insertions, 20 deletions
diff --git a/src/northbridge/amd/agesa/family10/chip.h b/src/northbridge/amd/agesa/family10/chip.h
index c0ac56e5a9..f95d5b1170 100644
--- a/src/northbridge/amd/agesa/family10/chip.h
+++ b/src/northbridge/amd/agesa/family10/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family10_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family10_ops;
diff --git a/src/northbridge/amd/agesa/family10/root_complex/chip.h b/src/northbridge/amd/agesa/family10/root_complex/chip.h
index 15a2e1ae69..80adb8eb71 100644
--- a/src/northbridge/amd/agesa/family10/root_complex/chip.h
+++ b/src/northbridge/amd/agesa/family10/root_complex/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family10_root_complex_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family10_root_complex_ops;
diff --git a/src/northbridge/amd/agesa/family12/chip.h b/src/northbridge/amd/agesa/family12/chip.h
index 462610d6ea..39efd523d6 100644
--- a/src/northbridge/amd/agesa/family12/chip.h
+++ b/src/northbridge/amd/agesa/family12/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family12_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family12_ops;
diff --git a/src/northbridge/amd/agesa/family12/root_complex/chip.h b/src/northbridge/amd/agesa/family12/root_complex/chip.h
index 91599252fc..556f343ad5 100644
--- a/src/northbridge/amd/agesa/family12/root_complex/chip.h
+++ b/src/northbridge/amd/agesa/family12/root_complex/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family12_root_complex_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family12_root_complex_ops;
diff --git a/src/northbridge/amd/agesa/family14/chip.h b/src/northbridge/amd/agesa/family14/chip.h
index 26a1aad6bb..46ea78a64a 100644
--- a/src/northbridge/amd/agesa/family14/chip.h
+++ b/src/northbridge/amd/agesa/family14/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family14_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family14_ops;
diff --git a/src/northbridge/amd/agesa/family14/root_complex/chip.h b/src/northbridge/amd/agesa/family14/root_complex/chip.h
index 234f931aef..cf95179073 100644
--- a/src/northbridge/amd/agesa/family14/root_complex/chip.h
+++ b/src/northbridge/amd/agesa/family14/root_complex/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family14_root_complex_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family14_root_complex_ops;
diff --git a/src/northbridge/amd/agesa/family15/chip.h b/src/northbridge/amd/agesa/family15/chip.h
index cec1fc4ad1..b06318b980 100644
--- a/src/northbridge/amd/agesa/family15/chip.h
+++ b/src/northbridge/amd/agesa/family15/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family15_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family15_ops;
diff --git a/src/northbridge/amd/agesa/family15/root_complex/chip.h b/src/northbridge/amd/agesa/family15/root_complex/chip.h
index 06b3510705..8f670f6b94 100644
--- a/src/northbridge/amd/agesa/family15/root_complex/chip.h
+++ b/src/northbridge/amd/agesa/family15/root_complex/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family15_root_complex_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family15_root_complex_ops;
diff --git a/src/northbridge/amd/agesa/family15tn/chip.h b/src/northbridge/amd/agesa/family15tn/chip.h
index d8361719e1..091de82f6d 100644
--- a/src/northbridge/amd/agesa/family15tn/chip.h
+++ b/src/northbridge/amd/agesa/family15tn/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family15tn_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family15tn_ops;
diff --git a/src/northbridge/amd/agesa/family15tn/root_complex/chip.h b/src/northbridge/amd/agesa/family15tn/root_complex/chip.h
index 802bb95cf6..0306fdd08b 100644
--- a/src/northbridge/amd/agesa/family15tn/root_complex/chip.h
+++ b/src/northbridge/amd/agesa/family15tn/root_complex/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_agesa_family15tn_root_complex_config
{
};
-extern struct chip_operations northbridge_amd_agesa_family15tn_root_complex_ops;
diff --git a/src/northbridge/amd/amdfam10/chip.h b/src/northbridge/amd/amdfam10/chip.h
index e055475780..a8161cbb35 100644
--- a/src/northbridge/amd/amdfam10/chip.h
+++ b/src/northbridge/amd/amdfam10/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_amdfam10_config
{
};
-extern struct chip_operations northbridge_amd_amdfam10_ops;
diff --git a/src/northbridge/amd/amdfam10/root_complex/chip.h b/src/northbridge/amd/amdfam10/root_complex/chip.h
index ed42c0f368..8c93020f7b 100644
--- a/src/northbridge/amd/amdfam10/root_complex/chip.h
+++ b/src/northbridge/amd/amdfam10/root_complex/chip.h
@@ -21,4 +21,3 @@ struct northbridge_amd_amdfam10_root_complex_config
{
};
-extern struct chip_operations northbridge_amd_amdfam10_root_complex_ops;
diff --git a/src/northbridge/amd/amdk8/chip.h b/src/northbridge/amd/amdk8/chip.h
index 26d4e53ac6..a2331f41a2 100644
--- a/src/northbridge/amd/amdk8/chip.h
+++ b/src/northbridge/amd/amdk8/chip.h
@@ -2,4 +2,3 @@ struct northbridge_amd_amdk8_config
{
};
-extern struct chip_operations northbridge_amd_amdk8_ops;
diff --git a/src/northbridge/amd/amdk8/root_complex/chip.h b/src/northbridge/amd/amdk8/root_complex/chip.h
index 0b49ca8ae9..a9b6b5b2cd 100644
--- a/src/northbridge/amd/amdk8/root_complex/chip.h
+++ b/src/northbridge/amd/amdk8/root_complex/chip.h
@@ -2,4 +2,3 @@ struct northbridge_amd_amdk8_root_complex_config
{
};
-extern struct chip_operations northbridge_amd_amdk8_root_complex_ops;
diff --git a/src/northbridge/amd/cimx/rd890/chip.h b/src/northbridge/amd/cimx/rd890/chip.h
index c2f985bacc..ccc979f4ea 100644
--- a/src/northbridge/amd/cimx/rd890/chip.h
+++ b/src/northbridge/amd/cimx/rd890/chip.h
@@ -17,12 +17,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
#ifndef _CIMX_RD890_CHIP_H_
#define _CIMX_RD890_CHIP_H_
-extern struct chip_operations northbridge_amd_cimx_rd890_ops;
-
/**
* RD890 specific device configuration
*/
diff --git a/src/northbridge/amd/gx1/chip.h b/src/northbridge/amd/gx1/chip.h
index 00374568bb..0378b61f2e 100644
--- a/src/northbridge/amd/gx1/chip.h
+++ b/src/northbridge/amd/gx1/chip.h
@@ -2,4 +2,3 @@ struct northbridge_amd_gx1_config
{
};
-extern struct chip_operations northbridge_amd_gx1_ops;
diff --git a/src/northbridge/amd/gx2/chip.h b/src/northbridge/amd/gx2/chip.h
index 34021ba4d5..1e266c6dc5 100644
--- a/src/northbridge/amd/gx2/chip.h
+++ b/src/northbridge/amd/gx2/chip.h
@@ -22,4 +22,3 @@ struct northbridge_amd_gx2_config
};
-extern struct chip_operations northbridge_amd_gx2_ops;
diff --git a/src/northbridge/amd/lx/chip.h b/src/northbridge/amd/lx/chip.h
index 94ef6c5599..12b50fbecf 100644
--- a/src/northbridge/amd/lx/chip.h
+++ b/src/northbridge/amd/lx/chip.h
@@ -21,4 +21,3 @@
struct northbridge_amd_lx_config {
};
-extern struct chip_operations northbridge_amd_lx_ops;