From 036c15fe71c4ec69e4403e0957f6c84357177d49 Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Fri, 23 Oct 2009 22:53:26 +0000 Subject: Drop dead K8_SCAN_PCI_BUS code. It's a bad idea to scan the PCI busses before RAM is initialized, and no one does it. Trivial. Signed-off-by: Myles Watson Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4830 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/amd/serengeti_cheetah/cache_as_ram_auto.c | 2 -- src/mainboard/broadcom/blast/cache_as_ram_auto.c | 3 --- src/mainboard/gigabyte/ga_2761gxdk/cache_as_ram_auto.c | 2 -- src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c | 2 -- src/mainboard/hp/dl145_g3/cache_as_ram_auto.c | 1 - src/mainboard/iwill/dk8_htx/cache_as_ram_auto.c | 2 -- src/mainboard/iwill/dk8s2/cache_as_ram_auto.c | 2 -- src/mainboard/iwill/dk8x/cache_as_ram_auto.c | 2 -- src/mainboard/msi/ms7260/cache_as_ram_auto.c | 1 - src/mainboard/msi/ms9185/cache_as_ram_auto.c | 2 -- src/mainboard/nvidia/l1_2pvv/cache_as_ram_auto.c | 2 -- src/mainboard/sunw/ultra40/cache_as_ram_auto.c | 2 -- src/mainboard/supermicro/h8dme/cache_as_ram_auto.c | 1 - src/mainboard/supermicro/h8dmr/cache_as_ram_auto.c | 2 -- src/mainboard/tyan/s2895/cache_as_ram_auto.c | 1 - src/mainboard/tyan/s2912/cache_as_ram_auto.c | 2 -- 16 files changed, 29 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/amd/serengeti_cheetah/cache_as_ram_auto.c b/src/mainboard/amd/serengeti_cheetah/cache_as_ram_auto.c index b39ae1ed34..a3e2b164a5 100644 --- a/src/mainboard/amd/serengeti_cheetah/cache_as_ram_auto.c +++ b/src/mainboard/amd/serengeti_cheetah/cache_as_ram_auto.c @@ -10,10 +10,8 @@ #define QRANK_DIMM_SUPPORT 1 //used by incoherent_ht -//#define K8_SCAN_PCI_BUS 1 //#define K8_ALLOCATE_IO_RANGE 1 - //used by init_cpus and fidvid #define K8_SET_FIDVID 0 //if we want to wait for core1 done before DQS training, set it to 0 diff --git a/src/mainboard/broadcom/blast/cache_as_ram_auto.c b/src/mainboard/broadcom/blast/cache_as_ram_auto.c index 5ac6f4be9f..3b94d3fd32 100644 --- a/src/mainboard/broadcom/blast/cache_as_ram_auto.c +++ b/src/mainboard/broadcom/blast/cache_as_ram_auto.c @@ -1,9 +1,6 @@ #define ASSEMBLY 1 #define __ROMCC__ - -//#define K8_SCAN_PCI_BUS 1 - #define QRANK_DIMM_SUPPORT 1 #if CONFIG_LOGICAL_CPUS==1 diff --git a/src/mainboard/gigabyte/ga_2761gxdk/cache_as_ram_auto.c b/src/mainboard/gigabyte/ga_2761gxdk/cache_as_ram_auto.c index e81dc4c210..056cd08331 100644 --- a/src/mainboard/gigabyte/ga_2761gxdk/cache_as_ram_auto.c +++ b/src/mainboard/gigabyte/ga_2761gxdk/cache_as_ram_auto.c @@ -27,8 +27,6 @@ #define RAMINIT_SYSINFO 1 #define K8_ALLOCATE_IO_RANGE 1 -//#define K8_SCAN_PCI_BUS 1 - #define QRANK_DIMM_SUPPORT 1 diff --git a/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c b/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c index 812878892a..26e5ee985e 100644 --- a/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c +++ b/src/mainboard/gigabyte/m57sli/cache_as_ram_auto.c @@ -25,8 +25,6 @@ #define RAMINIT_SYSINFO 1 #define K8_ALLOCATE_IO_RANGE 1 -//#define K8_SCAN_PCI_BUS 1 - #define QRANK_DIMM_SUPPORT 1 diff --git a/src/mainboard/hp/dl145_g3/cache_as_ram_auto.c b/src/mainboard/hp/dl145_g3/cache_as_ram_auto.c index f786d9fdec..0f54f46af2 100644 --- a/src/mainboard/hp/dl145_g3/cache_as_ram_auto.c +++ b/src/mainboard/hp/dl145_g3/cache_as_ram_auto.c @@ -31,7 +31,6 @@ #define RAMINIT_SYSINFO 1 #define K8_ALLOCATE_IO_RANGE 1 -//#define K8_SCAN_PCI_BUS 1 #define QRANK_DIMM_SUPPORT 1 diff --git a/src/mainboard/iwill/dk8_htx/cache_as_ram_auto.c b/src/mainboard/iwill/dk8_htx/cache_as_ram_auto.c index f4213c1ec3..76e56f80a4 100644 --- a/src/mainboard/iwill/dk8_htx/cache_as_ram_auto.c +++ b/src/mainboard/iwill/dk8_htx/cache_as_ram_auto.c @@ -10,10 +10,8 @@ #define QRANK_DIMM_SUPPORT 1 //used by incoherent_ht -//#define K8_SCAN_PCI_BUS 1 //#define K8_ALLOCATE_IO_RANGE 1 - //used by init_cpus and fidvid #define K8_SET_FIDVID 0 //if we want to wait for core1 done before DQS training, set it to 0 diff --git a/src/mainboard/iwill/dk8s2/cache_as_ram_auto.c b/src/mainboard/iwill/dk8s2/cache_as_ram_auto.c index e702d0e5fa..78b1de980d 100644 --- a/src/mainboard/iwill/dk8s2/cache_as_ram_auto.c +++ b/src/mainboard/iwill/dk8s2/cache_as_ram_auto.c @@ -10,10 +10,8 @@ #define QRANK_DIMM_SUPPORT 1 //used by incoherent_ht -//#define K8_SCAN_PCI_BUS 1 //#define K8_ALLOCATE_IO_RANGE 1 - //used by init_cpus and fidvid #define K8_SET_FIDVID 0 //if we want to wait for core1 done before DQS training, set it to 0 diff --git a/src/mainboard/iwill/dk8x/cache_as_ram_auto.c b/src/mainboard/iwill/dk8x/cache_as_ram_auto.c index e702d0e5fa..78b1de980d 100644 --- a/src/mainboard/iwill/dk8x/cache_as_ram_auto.c +++ b/src/mainboard/iwill/dk8x/cache_as_ram_auto.c @@ -10,10 +10,8 @@ #define QRANK_DIMM_SUPPORT 1 //used by incoherent_ht -//#define K8_SCAN_PCI_BUS 1 //#define K8_ALLOCATE_IO_RANGE 1 - //used by init_cpus and fidvid #define K8_SET_FIDVID 0 //if we want to wait for core1 done before DQS training, set it to 0 diff --git a/src/mainboard/msi/ms7260/cache_as_ram_auto.c b/src/mainboard/msi/ms7260/cache_as_ram_auto.c index 6458a65bde..ed84a426b2 100644 --- a/src/mainboard/msi/ms7260/cache_as_ram_auto.c +++ b/src/mainboard/msi/ms7260/cache_as_ram_auto.c @@ -31,7 +31,6 @@ #define RAMINIT_SYSINFO 1 #define K8_ALLOCATE_IO_RANGE 1 -// #define K8_SCAN_PCI_BUS 1 /* ? */ #define QRANK_DIMM_SUPPORT 1 #if CONFIG_LOGICAL_CPUS == 1 #define SET_NB_CFG_54 1 diff --git a/src/mainboard/msi/ms9185/cache_as_ram_auto.c b/src/mainboard/msi/ms9185/cache_as_ram_auto.c index b95d55a91a..95704b9791 100644 --- a/src/mainboard/msi/ms9185/cache_as_ram_auto.c +++ b/src/mainboard/msi/ms9185/cache_as_ram_auto.c @@ -35,10 +35,8 @@ #define QRANK_DIMM_SUPPORT 1 //used by incoherent_ht -//#define K8_SCAN_PCI_BUS 1 //#define K8_ALLOCATE_IO_RANGE 1 - //used by init_cpus and fidvid #define K8_SET_FIDVID 1 //if we want to wait for core1 done before DQS training, set it to 0 diff --git a/src/mainboard/nvidia/l1_2pvv/cache_as_ram_auto.c b/src/mainboard/nvidia/l1_2pvv/cache_as_ram_auto.c index 9962aefec6..04fa546f6a 100644 --- a/src/mainboard/nvidia/l1_2pvv/cache_as_ram_auto.c +++ b/src/mainboard/nvidia/l1_2pvv/cache_as_ram_auto.c @@ -25,8 +25,6 @@ #define RAMINIT_SYSINFO 1 #define K8_ALLOCATE_IO_RANGE 1 -//#define K8_SCAN_PCI_BUS 1 - #define QRANK_DIMM_SUPPORT 1 diff --git a/src/mainboard/sunw/ultra40/cache_as_ram_auto.c b/src/mainboard/sunw/ultra40/cache_as_ram_auto.c index 18af542809..468e049750 100644 --- a/src/mainboard/sunw/ultra40/cache_as_ram_auto.c +++ b/src/mainboard/sunw/ultra40/cache_as_ram_auto.c @@ -3,8 +3,6 @@ #define K8_ALLOCATE_IO_RANGE 1 -//#define K8_SCAN_PCI_BUS 1 - #define QRANK_DIMM_SUPPORT 1 diff --git a/src/mainboard/supermicro/h8dme/cache_as_ram_auto.c b/src/mainboard/supermicro/h8dme/cache_as_ram_auto.c index 18435a61f2..151b2d0a4a 100644 --- a/src/mainboard/supermicro/h8dme/cache_as_ram_auto.c +++ b/src/mainboard/supermicro/h8dme/cache_as_ram_auto.c @@ -22,7 +22,6 @@ #define RAMINIT_SYSINFO 1 #define K8_ALLOCATE_IO_RANGE 1 -// #define K8_SCAN_PCI_BUS 1 #define QRANK_DIMM_SUPPORT 1 diff --git a/src/mainboard/supermicro/h8dmr/cache_as_ram_auto.c b/src/mainboard/supermicro/h8dmr/cache_as_ram_auto.c index 3a9b0ca375..672f551fa1 100644 --- a/src/mainboard/supermicro/h8dmr/cache_as_ram_auto.c +++ b/src/mainboard/supermicro/h8dmr/cache_as_ram_auto.c @@ -25,8 +25,6 @@ #define RAMINIT_SYSINFO 1 #define K8_ALLOCATE_IO_RANGE 1 -//#define K8_SCAN_PCI_BUS 1 - #define QRANK_DIMM_SUPPORT 1 diff --git a/src/mainboard/tyan/s2895/cache_as_ram_auto.c b/src/mainboard/tyan/s2895/cache_as_ram_auto.c index 0e144eb29c..77bd04d330 100644 --- a/src/mainboard/tyan/s2895/cache_as_ram_auto.c +++ b/src/mainboard/tyan/s2895/cache_as_ram_auto.c @@ -2,7 +2,6 @@ #define __ROMCC__ #define K8_ALLOCATE_IO_RANGE 1 -//#define K8_SCAN_PCI_BUS 1 #define QRANK_DIMM_SUPPORT 1 diff --git a/src/mainboard/tyan/s2912/cache_as_ram_auto.c b/src/mainboard/tyan/s2912/cache_as_ram_auto.c index c27e74b2c1..8fb6473499 100644 --- a/src/mainboard/tyan/s2912/cache_as_ram_auto.c +++ b/src/mainboard/tyan/s2912/cache_as_ram_auto.c @@ -25,8 +25,6 @@ #define RAMINIT_SYSINFO 1 #define K8_ALLOCATE_IO_RANGE 1 -//#define K8_SCAN_PCI_BUS 1 - #define QRANK_DIMM_SUPPORT 1 -- cgit v1.2.3