Author: oxygene Date: Thu Nov 18 01:11:32 2010 New Revision: 6086 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6086
Log: Eliminate SET_NB_CFG_54 option. There was no board that deselected it, and very likely there won't ever be any hardware that requires it deselected.
Keep the "selected" code path around, leading to no functional change.
Signed-off-by: Patrick Georgi patrick@georgi-clan.de Acked-by: Scott Duplichan scott@notabs.org
Modified: trunk/src/cpu/amd/dualcore/dualcore.c trunk/src/cpu/amd/quadcore/quadcore.c trunk/src/mainboard/amd/dbm690t/romstage.c trunk/src/mainboard/amd/mahogany/romstage.c trunk/src/mainboard/amd/mahogany_fam10/romstage.c trunk/src/mainboard/amd/pistachio/romstage.c trunk/src/mainboard/amd/serengeti_cheetah/ap_romstage.c trunk/src/mainboard/amd/serengeti_cheetah/romstage.c trunk/src/mainboard/amd/serengeti_cheetah_fam10/romstage.c trunk/src/mainboard/amd/tilapia_fam10/romstage.c trunk/src/mainboard/arima/hdama/romstage.c trunk/src/mainboard/asrock/939a785gmh/romstage.c trunk/src/mainboard/asus/a8n_e/romstage.c trunk/src/mainboard/asus/m4a785-m/romstage.c trunk/src/mainboard/broadcom/blast/romstage.c trunk/src/mainboard/gigabyte/ga_2761gxdk/ap_romstage.c trunk/src/mainboard/gigabyte/ga_2761gxdk/romstage.c trunk/src/mainboard/gigabyte/m57sli/ap_romstage.c trunk/src/mainboard/gigabyte/m57sli/romstage.c trunk/src/mainboard/gigabyte/ma785gmt/romstage.c trunk/src/mainboard/gigabyte/ma78gm/romstage.c trunk/src/mainboard/hp/dl145_g1/romstage.c trunk/src/mainboard/hp/dl145_g3/romstage.c trunk/src/mainboard/hp/dl165_g6_fam10/romstage.c trunk/src/mainboard/ibm/e325/romstage.c trunk/src/mainboard/ibm/e326/romstage.c trunk/src/mainboard/iei/kino-780am2-fam10/romstage.c trunk/src/mainboard/iwill/dk8_htx/romstage.c trunk/src/mainboard/iwill/dk8s2/romstage.c trunk/src/mainboard/iwill/dk8x/romstage.c trunk/src/mainboard/jetway/pa78vm5/romstage.c trunk/src/mainboard/kontron/kt690/romstage.c trunk/src/mainboard/msi/ms7135/romstage.c trunk/src/mainboard/msi/ms7260/ap_romstage.c trunk/src/mainboard/msi/ms7260/romstage.c trunk/src/mainboard/msi/ms9185/romstage.c trunk/src/mainboard/msi/ms9282/romstage.c trunk/src/mainboard/msi/ms9652_fam10/romstage.c trunk/src/mainboard/newisys/khepri/romstage.c trunk/src/mainboard/nvidia/l1_2pvv/ap_romstage.c trunk/src/mainboard/nvidia/l1_2pvv/romstage.c trunk/src/mainboard/sunw/ultra40/romstage.c trunk/src/mainboard/supermicro/h8dme/ap_romstage.c trunk/src/mainboard/supermicro/h8dme/romstage.c trunk/src/mainboard/supermicro/h8dmr/ap_romstage.c trunk/src/mainboard/supermicro/h8dmr/romstage.c trunk/src/mainboard/supermicro/h8dmr_fam10/romstage.c trunk/src/mainboard/supermicro/h8qme_fam10/romstage.c trunk/src/mainboard/technexion/tim5690/romstage.c trunk/src/mainboard/technexion/tim8690/romstage.c trunk/src/mainboard/tyan/s2850/romstage.c trunk/src/mainboard/tyan/s2875/romstage.c trunk/src/mainboard/tyan/s2880/romstage.c trunk/src/mainboard/tyan/s2881/romstage.c trunk/src/mainboard/tyan/s2882/romstage.c trunk/src/mainboard/tyan/s2885/romstage.c trunk/src/mainboard/tyan/s2891/romstage.c trunk/src/mainboard/tyan/s2892/romstage.c trunk/src/mainboard/tyan/s2895/romstage.c trunk/src/mainboard/tyan/s2912/ap_romstage.c trunk/src/mainboard/tyan/s2912/romstage.c trunk/src/mainboard/tyan/s2912_fam10/romstage.c trunk/src/mainboard/tyan/s4880/romstage.c trunk/src/mainboard/tyan/s4882/romstage.c
Modified: trunk/src/cpu/amd/dualcore/dualcore.c ============================================================================== --- trunk/src/cpu/amd/dualcore/dualcore.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/cpu/amd/dualcore/dualcore.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,10 +1,5 @@ /* 2004.12 yhlu add dual core support */
- -#ifndef SET_NB_CFG_54 - #define SET_NB_CFG_54 1 -#endif - #include "cpu/amd/dualcore/dualcore_id.c" #include <pc80/mc146818rtc.h> #if CONFIG_HAVE_OPTION_TABLE @@ -20,7 +15,6 @@ return dword; }
-#if SET_NB_CFG_54 == 1 static inline uint8_t set_apicid_cpuid_lo(void) { #if CONFIG_K8_REV_F_SUPPORT == 0 @@ -35,11 +29,6 @@
return 1; } -#else - -static inline void set_apicid_cpuid_lo(void) { } - -#endif
static inline void real_start_other_core(unsigned nodeid) {
Modified: trunk/src/cpu/amd/quadcore/quadcore.c ============================================================================== --- trunk/src/cpu/amd/quadcore/quadcore.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/cpu/amd/quadcore/quadcore.c Thu Nov 18 01:11:32 2010 (r6086) @@ -24,10 +24,6 @@ #include "option_table.h" #endif
-#ifndef SET_NB_CFG_54 - #define SET_NB_CFG_54 1 -#endif - #include "cpu/amd/quadcore/quadcore_id.c"
static u32 get_core_num_in_bsp(u32 nodeid) @@ -43,7 +39,6 @@ return dword; }
-#if SET_NB_CFG_54 == 1 static u8 set_apicid_cpuid_lo(void) { // set the NB_CFG[54]=1; why the OS will be happy with that ??? @@ -54,12 +49,6 @@
return 1; } -#else - -static void set_apicid_cpuid_lo(void) { } - -#endif -
static void real_start_other_core(u32 nodeid, u32 cores) {
Modified: trunk/src/mainboard/amd/dbm690t/romstage.c ============================================================================== --- trunk/src/mainboard/amd/dbm690t/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/amd/dbm690t/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -17,10 +17,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #define RC0 (6<<8) #define RC1 (7<<8)
Modified: trunk/src/mainboard/amd/mahogany/romstage.c ============================================================================== --- trunk/src/mainboard/amd/mahogany/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/amd/mahogany/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -17,10 +17,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #define RC0 (6<<8) #define RC1 (7<<8)
Modified: trunk/src/mainboard/amd/mahogany_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/amd/mahogany_fam10/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/amd/mahogany_fam10/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -21,8 +21,6 @@ #define SYSTEM_TYPE 1 /* DESKTOP */ //#define SYSTEM_TYPE 2 /* MOBILE */
-#define SET_NB_CFG_54 1 - //used by incoherent_ht #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 0
Modified: trunk/src/mainboard/amd/pistachio/romstage.c ============================================================================== --- trunk/src/mainboard/amd/pistachio/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/amd/pistachio/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -17,10 +17,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #define DIMM0 0x50 #define DIMM1 0x51
Modified: trunk/src/mainboard/amd/serengeti_cheetah/ap_romstage.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah/ap_romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/amd/serengeti_cheetah/ap_romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,8 +1,6 @@ #define ASSEMBLY 1 #define __PRE_RAM__
-#define SET_NB_CFG_54 1 - #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
#include <stdint.h>
Modified: trunk/src/mainboard/amd/serengeti_cheetah/romstage.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/amd/serengeti_cheetah/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,5 +1,3 @@ -#define SET_NB_CFG_54 1 - #if CONFIG_K8_REV_F_SUPPORT == 1 #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 #endif
Modified: trunk/src/mainboard/amd/serengeti_cheetah_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah_fam10/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/amd/serengeti_cheetah_fam10/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -21,8 +21,6 @@ //#define SYSTEM_TYPE 1 /* DESKTOP */ //#define SYSTEM_TYPE 2 /* MOBILE */
-#define SET_NB_CFG_54 1 - //used by incoherent_ht #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 0
Modified: trunk/src/mainboard/amd/tilapia_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/amd/tilapia_fam10/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/amd/tilapia_fam10/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -21,8 +21,6 @@ #define SYSTEM_TYPE 1 /* DESKTOP */ //#define SYSTEM_TYPE 2 /* MOBILE */
-#define SET_NB_CFG_54 1 - //used by incoherent_ht #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 0
Modified: trunk/src/mainboard/arima/hdama/romstage.c ============================================================================== --- trunk/src/mainboard/arima/hdama/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/arima/hdama/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -73,9 +73,6 @@ #include "northbridge/amd/amdk8/coherent_ht.c" #include "lib/generic_sdram.c"
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif #include "cpu/amd/dualcore/dualcore.c"
#include "cpu/amd/car/post_cache_as_ram.c"
Modified: trunk/src/mainboard/asrock/939a785gmh/romstage.c ============================================================================== --- trunk/src/mainboard/asrock/939a785gmh/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/asrock/939a785gmh/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -18,10 +18,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #define RC0 (6<<8) #define RC1 (7<<8)
Modified: trunk/src/mainboard/asus/a8n_e/romstage.c ============================================================================== --- trunk/src/mainboard/asus/a8n_e/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/asus/a8n_e/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -24,10 +24,6 @@ /* Used by it8712f_enable_serial(). */ #define SERIAL_DEV PNP_DEV(0x2e, IT8712F_SP1)
-#if CONFIG_LOGICAL_CPUS == 1 -#define SET_NB_CFG_54 1 -#endif - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/asus/m4a785-m/romstage.c ============================================================================== --- trunk/src/mainboard/asus/m4a785-m/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/asus/m4a785-m/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -21,8 +21,6 @@ #define SYSTEM_TYPE 1 /* DESKTOP */ //#define SYSTEM_TYPE 2 /* MOBILE */
-#define SET_NB_CFG_54 1 - //used by incoherent_ht #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 0
Modified: trunk/src/mainboard/broadcom/blast/romstage.c ============================================================================== --- trunk/src/mainboard/broadcom/blast/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/broadcom/blast/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,8 +1,3 @@ - -#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/gigabyte/ga_2761gxdk/ap_romstage.c ============================================================================== --- trunk/src/mainboard/gigabyte/ga_2761gxdk/ap_romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/gigabyte/ga_2761gxdk/ap_romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -24,8 +24,6 @@ #define ASSEMBLY 1 #define __PRE_RAM__
-#define SET_NB_CFG_54 1 - #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
#include <stdint.h>
Modified: trunk/src/mainboard/gigabyte/ga_2761gxdk/romstage.c ============================================================================== --- trunk/src/mainboard/gigabyte/ga_2761gxdk/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/gigabyte/ga_2761gxdk/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -21,10 +21,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #if CONFIG_K8_REV_F_SUPPORT == 1 #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 #endif
Modified: trunk/src/mainboard/gigabyte/m57sli/ap_romstage.c ============================================================================== --- trunk/src/mainboard/gigabyte/m57sli/ap_romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/gigabyte/m57sli/ap_romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -22,8 +22,6 @@ #define ASSEMBLY 1 #define __PRE_RAM__
-#define SET_NB_CFG_54 1 - #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
#include <stdint.h>
Modified: trunk/src/mainboard/gigabyte/m57sli/romstage.c ============================================================================== --- trunk/src/mainboard/gigabyte/m57sli/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/gigabyte/m57sli/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -19,10 +19,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #if CONFIG_K8_REV_F_SUPPORT == 1 #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 #endif
Modified: trunk/src/mainboard/gigabyte/ma785gmt/romstage.c ============================================================================== --- trunk/src/mainboard/gigabyte/ma785gmt/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/gigabyte/ma785gmt/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -21,8 +21,6 @@ #define SYSTEM_TYPE 1 /* DESKTOP */ //#define SYSTEM_TYPE 2 /* MOBILE */
-#define SET_NB_CFG_54 1 - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/gigabyte/ma78gm/romstage.c ============================================================================== --- trunk/src/mainboard/gigabyte/ma78gm/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/gigabyte/ma78gm/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -21,8 +21,6 @@ #define SYSTEM_TYPE 1 /* DESKTOP */ //#define SYSTEM_TYPE 2 /* MOBILE */
-#define SET_NB_CFG_54 1 - //used by incoherent_ht #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 0
Modified: trunk/src/mainboard/hp/dl145_g1/romstage.c ============================================================================== --- trunk/src/mainboard/hp/dl145_g1/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/hp/dl145_g1/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,8 +1,3 @@ - -#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/hp/dl145_g3/romstage.c ============================================================================== --- trunk/src/mainboard/hp/dl145_g3/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/hp/dl145_g3/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -25,10 +25,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #if CONFIG_K8_REV_F_SUPPORT == 1 #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 #endif
Modified: trunk/src/mainboard/hp/dl165_g6_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/hp/dl165_g6_fam10/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/hp/dl165_g6_fam10/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -28,11 +28,6 @@ #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 1
- -#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/ibm/e325/romstage.c ============================================================================== --- trunk/src/mainboard/ibm/e325/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/ibm/e325/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,4 +1,3 @@ - #include <stdint.h> #include <string.h> #include <device/pci_def.h> @@ -70,9 +69,6 @@ #include "northbridge/amd/amdk8/coherent_ht.c" #include "lib/generic_sdram.c"
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif #include "cpu/amd/dualcore/dualcore.c"
#include "cpu/amd/car/post_cache_as_ram.c"
Modified: trunk/src/mainboard/ibm/e326/romstage.c ============================================================================== --- trunk/src/mainboard/ibm/e326/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/ibm/e326/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,4 +1,3 @@ - #include <stdint.h> #include <string.h> #include <device/pci_def.h> @@ -70,9 +69,6 @@ #include "northbridge/amd/amdk8/coherent_ht.c" #include "lib/generic_sdram.c"
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif #include "cpu/amd/dualcore/dualcore.c"
#include "cpu/amd/car/post_cache_as_ram.c"
Modified: trunk/src/mainboard/iei/kino-780am2-fam10/romstage.c ============================================================================== --- trunk/src/mainboard/iei/kino-780am2-fam10/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/iei/kino-780am2-fam10/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -21,10 +21,6 @@ #define SYSTEM_TYPE 1 /* DESKTOP */ //#define SYSTEM_TYPE 2 /* MOBILE */
-#define SET_NB_CFG_54 1 - -//used by raminit - //used by incoherent_ht #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 0
Modified: trunk/src/mainboard/iwill/dk8_htx/romstage.c ============================================================================== --- trunk/src/mainboard/iwill/dk8_htx/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/iwill/dk8_htx/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,5 +1,3 @@ -#define SET_NB_CFG_54 1 - #if CONFIG_K8_REV_F_SUPPORT == 1 #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 #endif
Modified: trunk/src/mainboard/iwill/dk8s2/romstage.c ============================================================================== --- trunk/src/mainboard/iwill/dk8s2/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/iwill/dk8s2/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,5 +1,3 @@ -#define SET_NB_CFG_54 1 - #if CONFIG_K8_REV_F_SUPPORT == 1 #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 #endif
Modified: trunk/src/mainboard/iwill/dk8x/romstage.c ============================================================================== --- trunk/src/mainboard/iwill/dk8x/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/iwill/dk8x/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,5 +1,3 @@ -#define SET_NB_CFG_54 1 - #if CONFIG_K8_REV_F_SUPPORT == 1 #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 #endif
Modified: trunk/src/mainboard/jetway/pa78vm5/romstage.c ============================================================================== --- trunk/src/mainboard/jetway/pa78vm5/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/jetway/pa78vm5/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -22,8 +22,6 @@ #define SYSTEM_TYPE 1 /* DESKTOP */ //#define SYSTEM_TYPE 2 /* MOBILE */
-#define SET_NB_CFG_54 1 - //used by incoherent_ht #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 0
Modified: trunk/src/mainboard/kontron/kt690/romstage.c ============================================================================== --- trunk/src/mainboard/kontron/kt690/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/kontron/kt690/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -18,10 +18,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #define RC0 (6<<8) #define RC1 (7<<8)
Modified: trunk/src/mainboard/msi/ms7135/romstage.c ============================================================================== --- trunk/src/mainboard/msi/ms7135/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/msi/ms7135/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -24,10 +24,6 @@
#define SERIAL_DEV PNP_DEV(0x4e, W83627THG_SP1)
-#if CONFIG_LOGICAL_CPUS == 1 -#define SET_NB_CFG_54 1 -#endif - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/msi/ms7260/ap_romstage.c ============================================================================== --- trunk/src/mainboard/msi/ms7260/ap_romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/msi/ms7260/ap_romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -23,7 +23,6 @@
#define __PRE_RAM__
-#define SET_NB_CFG_54 1 /* Used by RAM init. */ #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
#include <stdint.h>
Modified: trunk/src/mainboard/msi/ms7260/romstage.c ============================================================================== --- trunk/src/mainboard/msi/ms7260/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/msi/ms7260/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -20,10 +20,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS == 1 -#define SET_NB_CFG_54 1 -#endif - #if CONFIG_K8_REV_F_SUPPORT == 1 #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 #endif
Modified: trunk/src/mainboard/msi/ms9185/romstage.c ============================================================================== --- trunk/src/mainboard/msi/ms9185/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/msi/ms9185/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -23,8 +23,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#define SET_NB_CFG_54 1 - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/msi/ms9282/romstage.c ============================================================================== --- trunk/src/mainboard/msi/ms9282/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/msi/ms9282/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -22,8 +22,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#define SET_NB_CFG_54 1 - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/msi/ms9652_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/msi/ms9652_fam10/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/msi/ms9652_fam10/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -22,11 +22,6 @@ #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 1
- -#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/newisys/khepri/romstage.c ============================================================================== --- trunk/src/mainboard/newisys/khepri/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/newisys/khepri/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -4,7 +4,6 @@ * Additional (C) 2007 coresystems GmbH */
- #include <stdint.h> #include <string.h> #include <device/pci_def.h> @@ -80,9 +79,6 @@ /* newisys khepri does not want the default */ #include "resourcemap.c"
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif #include "cpu/amd/dualcore/dualcore.c"
Modified: trunk/src/mainboard/nvidia/l1_2pvv/ap_romstage.c ============================================================================== --- trunk/src/mainboard/nvidia/l1_2pvv/ap_romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/nvidia/l1_2pvv/ap_romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -22,8 +22,6 @@ #define ASSEMBLY 1 #define __PRE_RAM__
-#define SET_NB_CFG_54 1 - #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
#include <stdint.h>
Modified: trunk/src/mainboard/nvidia/l1_2pvv/romstage.c ============================================================================== --- trunk/src/mainboard/nvidia/l1_2pvv/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/nvidia/l1_2pvv/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -19,10 +19,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #if CONFIG_K8_REV_F_SUPPORT == 1 #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 #endif
Modified: trunk/src/mainboard/sunw/ultra40/romstage.c ============================================================================== --- trunk/src/mainboard/sunw/ultra40/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/sunw/ultra40/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,8 +1,3 @@ -#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/supermicro/h8dme/ap_romstage.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dme/ap_romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/supermicro/h8dme/ap_romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -22,8 +22,6 @@ #define ASSEMBLY 1 #define __PRE_RAM__
-#define SET_NB_CFG_54 1 - #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
#include <stdint.h>
Modified: trunk/src/mainboard/supermicro/h8dme/romstage.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dme/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/supermicro/h8dme/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -16,10 +16,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #if CONFIG_K8_REV_F_SUPPORT == 1 #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 #endif
Modified: trunk/src/mainboard/supermicro/h8dmr/ap_romstage.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dmr/ap_romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/supermicro/h8dmr/ap_romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -22,8 +22,6 @@ #define ASSEMBLY 1 #define __PRE_RAM__
-#define SET_NB_CFG_54 1 - #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
#include <stdint.h>
Modified: trunk/src/mainboard/supermicro/h8dmr/romstage.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dmr/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/supermicro/h8dmr/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -19,10 +19,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #if CONFIG_K8_REV_F_SUPPORT == 1 #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 #endif
Modified: trunk/src/mainboard/supermicro/h8dmr_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dmr_fam10/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/supermicro/h8dmr_fam10/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -22,11 +22,6 @@ #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 1
- -#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/supermicro/h8qme_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/supermicro/h8qme_fam10/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/supermicro/h8qme_fam10/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -22,11 +22,6 @@ #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 1
- -#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/technexion/tim5690/romstage.c ============================================================================== --- trunk/src/mainboard/technexion/tim5690/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/technexion/tim5690/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -17,10 +17,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #define RC0 (6<<8) #define RC1 (7<<8)
Modified: trunk/src/mainboard/technexion/tim8690/romstage.c ============================================================================== --- trunk/src/mainboard/technexion/tim8690/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/technexion/tim8690/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -17,10 +17,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #define RC0 (6<<8) #define RC1 (7<<8)
Modified: trunk/src/mainboard/tyan/s2850/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2850/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/tyan/s2850/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,4 +1,3 @@ - #include <stdint.h> #include <string.h> #include <device/pci_def.h> @@ -67,9 +66,6 @@ #include "northbridge/amd/amdk8/coherent_ht.c" #include "lib/generic_sdram.c"
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif #include "cpu/amd/dualcore/dualcore.c"
Modified: trunk/src/mainboard/tyan/s2875/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2875/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/tyan/s2875/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,4 +1,3 @@ - #include <stdint.h> #include <string.h> #include <device/pci_def.h> @@ -68,9 +67,6 @@ #include "lib/generic_sdram.c" #include "northbridge/amd/amdk8/resourcemap.c"
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif #include "cpu/amd/dualcore/dualcore.c"
Modified: trunk/src/mainboard/tyan/s2880/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2880/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/tyan/s2880/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,4 +1,3 @@ - #include <stdint.h> #include <string.h> #include <device/pci_def.h> @@ -68,9 +67,6 @@ #include "northbridge/amd/amdk8/coherent_ht.c" #include "lib/generic_sdram.c"
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif #include "cpu/amd/dualcore/dualcore.c"
Modified: trunk/src/mainboard/tyan/s2881/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2881/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/tyan/s2881/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,8 +1,3 @@ - -#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/tyan/s2882/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2882/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/tyan/s2882/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,4 +1,3 @@ - #include <stdint.h> #include <string.h> #include <device/pci_def.h> @@ -68,9 +67,6 @@ #include "northbridge/amd/amdk8/coherent_ht.c" #include "lib/generic_sdram.c"
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif #include "cpu/amd/dualcore/dualcore.c"
#include "cpu/amd/car/post_cache_as_ram.c"
Modified: trunk/src/mainboard/tyan/s2885/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2885/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/tyan/s2885/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,4 +1,3 @@ - #include <stdint.h> #include <string.h> #include <device/pci_def.h> @@ -70,9 +69,6 @@ /* tyan does not want the default */ #include "resourcemap.c"
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif #include "cpu/amd/dualcore/dualcore.c"
Modified: trunk/src/mainboard/tyan/s2891/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2891/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/tyan/s2891/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,7 +1,3 @@ -#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/tyan/s2892/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2892/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/tyan/s2892/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,8 +1,3 @@ - -#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/tyan/s2895/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2895/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/tyan/s2895/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,7 +1,3 @@ -#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/tyan/s2912/ap_romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2912/ap_romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/tyan/s2912/ap_romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -22,8 +22,6 @@ #define ASSEMBLY 1 #define __PRE_RAM__
-#define SET_NB_CFG_54 1 - #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
#include <stdint.h>
Modified: trunk/src/mainboard/tyan/s2912/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2912/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/tyan/s2912/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -19,10 +19,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #if CONFIG_K8_REV_F_SUPPORT == 1 #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 #endif
Modified: trunk/src/mainboard/tyan/s2912_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2912_fam10/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/tyan/s2912_fam10/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -22,11 +22,6 @@ #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 1
- -#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif - #include <stdint.h> #include <string.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/tyan/s4880/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s4880/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/tyan/s4880/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,4 +1,3 @@ - #include <stdint.h> #include <string.h> #include <device/pci_def.h> @@ -84,9 +83,6 @@ /* tyan does not want the default */ #include "resourcemap.c"
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif #include "cpu/amd/dualcore/dualcore.c"
#define RC0 ((1<<2)<<8)
Modified: trunk/src/mainboard/tyan/s4882/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s4882/romstage.c Wed Nov 17 22:52:15 2010 (r6085) +++ trunk/src/mainboard/tyan/s4882/romstage.c Thu Nov 18 01:11:32 2010 (r6086) @@ -1,4 +1,3 @@ - #include <stdint.h> #include <string.h> #include <device/pci_def.h> @@ -92,9 +91,6 @@ /* tyan does not want the default */ #include "resourcemap.c"
-#if CONFIG_LOGICAL_CPUS==1 -#define SET_NB_CFG_54 1 -#endif #include "cpu/amd/dualcore/dualcore.c"
#define RC0 ((1<<2)<<8)