From fee73df07ac0d17f319486f977585c7945e0d069 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Tue, 21 Aug 2012 11:37:11 +0300 Subject: Auto-declare chip_operations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The name is derived directly from the device path. Change-Id: If2053d14f0e38a5ee0159b47a66d45ff3dff649a Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/1471 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Alexandru Gagniuc Reviewed-by: Anton Kochkov --- src/cpu/amd/agesa/family10/chip.h | 2 -- src/cpu/amd/agesa/family12/chip.h | 2 -- src/cpu/amd/agesa/family14/chip.h | 2 -- src/cpu/amd/agesa/family15/chip.h | 2 -- src/cpu/amd/agesa/family15tn/chip.h | 2 -- src/cpu/amd/sc520/chip.h | 2 -- src/cpu/amd/socket_754/chip.h | 2 -- src/cpu/amd/socket_939/chip.h | 2 -- src/cpu/amd/socket_940/chip.h | 2 -- src/cpu/amd/socket_AM2/chip.h | 2 -- src/cpu/amd/socket_AM2r2/chip.h | 2 -- src/cpu/amd/socket_AM3/chip.h | 2 -- src/cpu/amd/socket_ASB2/chip.h | 2 -- src/cpu/amd/socket_C32/chip.h | 2 -- src/cpu/amd/socket_F/chip.h | 2 -- src/cpu/amd/socket_F_1207/chip.h | 2 -- src/cpu/amd/socket_S1G1/chip.h | 2 -- src/cpu/intel/ep80579/chip.h | 2 -- src/cpu/intel/model_206ax/chip.h | 2 -- src/cpu/intel/slot_1/chip.h | 2 -- src/cpu/intel/slot_2/chip.h | 2 -- src/cpu/intel/socket_441/chip.h | 2 -- src/cpu/intel/socket_BGA956/chip.h | 2 -- src/cpu/intel/socket_FC_PGA370/chip.h | 2 -- src/cpu/intel/socket_LGA771/chip.h | 2 -- src/cpu/intel/socket_PGA370/chip.h | 2 -- src/cpu/intel/socket_mFCBGA479/chip.h | 2 -- src/cpu/intel/socket_mFCPGA478/chip.h | 2 -- src/cpu/intel/socket_mPGA478/chip.h | 2 -- src/cpu/intel/socket_mPGA479M/chip.h | 2 -- src/cpu/intel/socket_mPGA603/chip.h | 2 -- src/cpu/intel/socket_mPGA604/chip.h | 2 -- src/cpu/intel/socket_rPGA989/chip.h | 2 -- 33 files changed, 66 deletions(-) (limited to 'src/cpu') 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 { }; diff --git a/src/cpu/intel/ep80579/chip.h b/src/cpu/intel/ep80579/chip.h index 6383c86bae..08e752916d 100644 --- a/src/cpu/intel/ep80579/chip.h +++ b/src/cpu/intel/ep80579/chip.h @@ -17,7 +17,5 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -extern struct chip_operations cpu_intel_ep80579_ops; - struct cpu_intel_ep80579_config { }; diff --git a/src/cpu/intel/model_206ax/chip.h b/src/cpu/intel/model_206ax/chip.h index 96b4c5d9a9..85cbe1b0f0 100644 --- a/src/cpu/intel/model_206ax/chip.h +++ b/src/cpu/intel/model_206ax/chip.h @@ -17,8 +17,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -extern struct chip_operations cpu_intel_model_206ax_ops; - /* Magic value used to locate this chip in the device tree */ #define SPEEDSTEP_APIC_MAGIC 0xACAC diff --git a/src/cpu/intel/slot_1/chip.h b/src/cpu/intel/slot_1/chip.h index 6721d6ee8b..8650f90a7c 100644 --- a/src/cpu/intel/slot_1/chip.h +++ b/src/cpu/intel/slot_1/chip.h @@ -18,7 +18,5 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -extern struct chip_operations cpu_intel_slot_1_ops; - struct cpu_intel_slot_1_config { }; diff --git a/src/cpu/intel/slot_2/chip.h b/src/cpu/intel/slot_2/chip.h index 0f504dbc5f..d7bb2b1764 100644 --- a/src/cpu/intel/slot_2/chip.h +++ b/src/cpu/intel/slot_2/chip.h @@ -1,4 +1,2 @@ -extern struct chip_operations cpu_intel_slot_2_ops; - struct cpu_intel_slot_2_config { }; diff --git a/src/cpu/intel/socket_441/chip.h b/src/cpu/intel/socket_441/chip.h index 264dafa9bf..70c4ac8c64 100644 --- a/src/cpu/intel/socket_441/chip.h +++ b/src/cpu/intel/socket_441/chip.h @@ -17,7 +17,5 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -extern struct chip_operations cpu_intel_socket_441_ops; - struct cpu_intel_socket_441_config { }; diff --git a/src/cpu/intel/socket_BGA956/chip.h b/src/cpu/intel/socket_BGA956/chip.h index 68ec1d2dc8..399200dc51 100644 --- a/src/cpu/intel/socket_BGA956/chip.h +++ b/src/cpu/intel/socket_BGA956/chip.h @@ -1,4 +1,2 @@ -extern struct chip_operations cpu_intel_socket_BGA956_ops; - struct cpu_intel_socket_BGA956_config { }; diff --git a/src/cpu/intel/socket_FC_PGA370/chip.h b/src/cpu/intel/socket_FC_PGA370/chip.h index c1195c2fd5..7148d4761f 100644 --- a/src/cpu/intel/socket_FC_PGA370/chip.h +++ b/src/cpu/intel/socket_FC_PGA370/chip.h @@ -18,7 +18,5 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -extern struct chip_operations cpu_intel_socket_FC_PGA370_ops; - struct cpu_intel_socket_FC_PGA370_config { }; diff --git a/src/cpu/intel/socket_LGA771/chip.h b/src/cpu/intel/socket_LGA771/chip.h index d3f312ea85..fc51d777cf 100644 --- a/src/cpu/intel/socket_LGA771/chip.h +++ b/src/cpu/intel/socket_LGA771/chip.h @@ -1,4 +1,2 @@ -extern struct chip_operations cpu_intel_socket_LGA771_ops; - struct cpu_intel_socket_LGA771_config { }; diff --git a/src/cpu/intel/socket_PGA370/chip.h b/src/cpu/intel/socket_PGA370/chip.h index 469b662dfb..c2c70ec4ad 100644 --- a/src/cpu/intel/socket_PGA370/chip.h +++ b/src/cpu/intel/socket_PGA370/chip.h @@ -1,4 +1,2 @@ -extern struct chip_operations cpu_intel_socket_PGA370_ops; - struct cpu_intel_socket_PGA370_config { }; diff --git a/src/cpu/intel/socket_mFCBGA479/chip.h b/src/cpu/intel/socket_mFCBGA479/chip.h index 9dee4a9e46..57e432c615 100644 --- a/src/cpu/intel/socket_mFCBGA479/chip.h +++ b/src/cpu/intel/socket_mFCBGA479/chip.h @@ -1,4 +1,2 @@ -extern struct chip_operations cpu_intel_socket_mFCBGA479_ops; - struct cpu_intel_socket_mFCBGA479_config { }; diff --git a/src/cpu/intel/socket_mFCPGA478/chip.h b/src/cpu/intel/socket_mFCPGA478/chip.h index b747698d6e..50268f5705 100644 --- a/src/cpu/intel/socket_mFCPGA478/chip.h +++ b/src/cpu/intel/socket_mFCPGA478/chip.h @@ -1,4 +1,2 @@ -extern struct chip_operations cpu_intel_socket_mFCPGA478_ops; - struct cpu_intel_socket_mFCPGA478_config { }; diff --git a/src/cpu/intel/socket_mPGA478/chip.h b/src/cpu/intel/socket_mPGA478/chip.h index 8cc29b1726..3dafc9ae3e 100644 --- a/src/cpu/intel/socket_mPGA478/chip.h +++ b/src/cpu/intel/socket_mPGA478/chip.h @@ -1,4 +1,2 @@ -extern struct chip_operations cpu_intel_socket_mPGA478_ops; - struct cpu_intel_socket_mPGA478_config { }; diff --git a/src/cpu/intel/socket_mPGA479M/chip.h b/src/cpu/intel/socket_mPGA479M/chip.h index 57e9bd5bcb..c0c5cd4d6d 100644 --- a/src/cpu/intel/socket_mPGA479M/chip.h +++ b/src/cpu/intel/socket_mPGA479M/chip.h @@ -1,4 +1,2 @@ -extern struct chip_operations cpu_intel_socket_mPGA479M_ops; - struct cpu_intel_socket_mPGA479M_config { }; diff --git a/src/cpu/intel/socket_mPGA603/chip.h b/src/cpu/intel/socket_mPGA603/chip.h index 0170297e68..b39982ab1f 100644 --- a/src/cpu/intel/socket_mPGA603/chip.h +++ b/src/cpu/intel/socket_mPGA603/chip.h @@ -1,4 +1,2 @@ -extern struct chip_operations cpu_intel_socket_mPGA603_ops; - struct cpu_intel_socket_mPGA603_config { }; diff --git a/src/cpu/intel/socket_mPGA604/chip.h b/src/cpu/intel/socket_mPGA604/chip.h index 636d797bb3..3a09b82b8b 100644 --- a/src/cpu/intel/socket_mPGA604/chip.h +++ b/src/cpu/intel/socket_mPGA604/chip.h @@ -1,4 +1,2 @@ -extern struct chip_operations cpu_intel_socket_mPGA604_ops; - struct cpu_intel_socket_mPGA604_config { }; diff --git a/src/cpu/intel/socket_rPGA989/chip.h b/src/cpu/intel/socket_rPGA989/chip.h index f843e74738..ee3b396a1e 100644 --- a/src/cpu/intel/socket_rPGA989/chip.h +++ b/src/cpu/intel/socket_rPGA989/chip.h @@ -1,4 +1,2 @@ -extern struct chip_operations cpu_intel_socket_rPGA989_ops; - struct cpu_intel_socket_rPGA989_config { }; -- cgit v1.2.3