Author: oxygene Date: Fri Nov 5 23:59:49 2010 New Revision: 6028 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6028
Log: Move QRANK_DIMM_SUPPORT to Kconfig, removing it from romstage.c
Signed-off-by: Patrick Georgi patrick@georgi-clan.de Acked-by: Myles Watson mylesgw@gmail.com
Modified: trunk/src/mainboard/amd/dbm690t/Kconfig trunk/src/mainboard/amd/dbm690t/romstage.c trunk/src/mainboard/amd/mahogany/Kconfig trunk/src/mainboard/amd/mahogany/romstage.c trunk/src/mainboard/amd/mahogany_fam10/Kconfig trunk/src/mainboard/amd/mahogany_fam10/romstage.c trunk/src/mainboard/amd/pistachio/Kconfig trunk/src/mainboard/amd/pistachio/romstage.c trunk/src/mainboard/amd/serengeti_cheetah/Kconfig trunk/src/mainboard/amd/serengeti_cheetah/ap_romstage.c trunk/src/mainboard/amd/serengeti_cheetah/romstage.c trunk/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig trunk/src/mainboard/amd/serengeti_cheetah_fam10/romstage.c trunk/src/mainboard/amd/tilapia_fam10/Kconfig trunk/src/mainboard/amd/tilapia_fam10/romstage.c trunk/src/mainboard/arima/hdama/Kconfig trunk/src/mainboard/arima/hdama/romstage.c trunk/src/mainboard/asrock/939a785gmh/Kconfig trunk/src/mainboard/asrock/939a785gmh/romstage.c trunk/src/mainboard/asus/a8n_e/Kconfig trunk/src/mainboard/asus/a8n_e/romstage.c trunk/src/mainboard/asus/a8v-e_se/Kconfig trunk/src/mainboard/asus/a8v-e_se/romstage.c trunk/src/mainboard/asus/m2v-mx_se/Kconfig trunk/src/mainboard/asus/m2v-mx_se/romstage.c trunk/src/mainboard/asus/m4a785-m/Kconfig trunk/src/mainboard/asus/m4a785-m/romstage.c trunk/src/mainboard/broadcom/blast/Kconfig trunk/src/mainboard/broadcom/blast/romstage.c trunk/src/mainboard/gigabyte/ga_2761gxdk/Kconfig trunk/src/mainboard/gigabyte/ga_2761gxdk/ap_romstage.c trunk/src/mainboard/gigabyte/ga_2761gxdk/romstage.c trunk/src/mainboard/gigabyte/m57sli/Kconfig trunk/src/mainboard/gigabyte/m57sli/ap_romstage.c trunk/src/mainboard/gigabyte/m57sli/romstage.c trunk/src/mainboard/gigabyte/ma785gmt/Kconfig trunk/src/mainboard/gigabyte/ma785gmt/romstage.c trunk/src/mainboard/gigabyte/ma78gm/Kconfig trunk/src/mainboard/gigabyte/ma78gm/romstage.c trunk/src/mainboard/hp/dl145_g1/Kconfig trunk/src/mainboard/hp/dl145_g1/romstage.c trunk/src/mainboard/hp/dl145_g3/Kconfig trunk/src/mainboard/hp/dl145_g3/romstage.c trunk/src/mainboard/hp/dl165_g6_fam10/Kconfig trunk/src/mainboard/hp/dl165_g6_fam10/romstage.c trunk/src/mainboard/ibm/e325/Kconfig trunk/src/mainboard/ibm/e325/romstage.c trunk/src/mainboard/ibm/e326/Kconfig trunk/src/mainboard/ibm/e326/romstage.c trunk/src/mainboard/iei/kino-780am2-fam10/Kconfig trunk/src/mainboard/iei/kino-780am2-fam10/romstage.c trunk/src/mainboard/iwill/dk8_htx/Kconfig trunk/src/mainboard/iwill/dk8_htx/romstage.c trunk/src/mainboard/iwill/dk8s2/Kconfig trunk/src/mainboard/iwill/dk8s2/romstage.c trunk/src/mainboard/iwill/dk8x/Kconfig trunk/src/mainboard/iwill/dk8x/romstage.c trunk/src/mainboard/jetway/pa78vm5/Kconfig trunk/src/mainboard/jetway/pa78vm5/romstage.c trunk/src/mainboard/kontron/kt690/Kconfig trunk/src/mainboard/kontron/kt690/romstage.c trunk/src/mainboard/msi/ms7135/Kconfig trunk/src/mainboard/msi/ms7135/romstage.c trunk/src/mainboard/msi/ms7260/Kconfig trunk/src/mainboard/msi/ms7260/ap_romstage.c trunk/src/mainboard/msi/ms7260/romstage.c trunk/src/mainboard/msi/ms9185/Kconfig trunk/src/mainboard/msi/ms9185/romstage.c trunk/src/mainboard/msi/ms9282/Kconfig trunk/src/mainboard/msi/ms9282/romstage.c trunk/src/mainboard/msi/ms9652_fam10/Kconfig trunk/src/mainboard/msi/ms9652_fam10/romstage.c trunk/src/mainboard/newisys/khepri/Kconfig trunk/src/mainboard/newisys/khepri/romstage.c trunk/src/mainboard/nvidia/l1_2pvv/Kconfig trunk/src/mainboard/nvidia/l1_2pvv/ap_romstage.c trunk/src/mainboard/nvidia/l1_2pvv/romstage.c trunk/src/mainboard/sunw/ultra40/Kconfig trunk/src/mainboard/sunw/ultra40/romstage.c trunk/src/mainboard/supermicro/h8dme/Kconfig trunk/src/mainboard/supermicro/h8dme/ap_romstage.c trunk/src/mainboard/supermicro/h8dme/romstage.c trunk/src/mainboard/supermicro/h8dmr/Kconfig trunk/src/mainboard/supermicro/h8dmr/ap_romstage.c trunk/src/mainboard/supermicro/h8dmr/romstage.c trunk/src/mainboard/supermicro/h8dmr_fam10/Kconfig trunk/src/mainboard/supermicro/h8dmr_fam10/romstage.c trunk/src/mainboard/supermicro/h8qme_fam10/Kconfig trunk/src/mainboard/supermicro/h8qme_fam10/romstage.c trunk/src/mainboard/technexion/tim5690/Kconfig trunk/src/mainboard/technexion/tim5690/romstage.c trunk/src/mainboard/technexion/tim8690/Kconfig trunk/src/mainboard/technexion/tim8690/romstage.c trunk/src/mainboard/tyan/s2875/Kconfig trunk/src/mainboard/tyan/s2875/romstage.c trunk/src/mainboard/tyan/s2880/Kconfig trunk/src/mainboard/tyan/s2880/romstage.c trunk/src/mainboard/tyan/s2881/Kconfig trunk/src/mainboard/tyan/s2881/romstage.c trunk/src/mainboard/tyan/s2882/Kconfig trunk/src/mainboard/tyan/s2882/romstage.c trunk/src/mainboard/tyan/s2885/Kconfig trunk/src/mainboard/tyan/s2885/romstage.c trunk/src/mainboard/tyan/s2891/Kconfig trunk/src/mainboard/tyan/s2891/romstage.c trunk/src/mainboard/tyan/s2892/Kconfig trunk/src/mainboard/tyan/s2892/romstage.c trunk/src/mainboard/tyan/s2895/Kconfig trunk/src/mainboard/tyan/s2895/romstage.c trunk/src/mainboard/tyan/s2912/Kconfig trunk/src/mainboard/tyan/s2912/ap_romstage.c trunk/src/mainboard/tyan/s2912/romstage.c trunk/src/mainboard/tyan/s2912_fam10/Kconfig trunk/src/mainboard/tyan/s2912_fam10/romstage.c trunk/src/mainboard/tyan/s4880/Kconfig trunk/src/mainboard/tyan/s4880/romstage.c trunk/src/mainboard/tyan/s4882/Kconfig trunk/src/mainboard/tyan/s4882/romstage.c trunk/src/northbridge/amd/amdk8/Kconfig trunk/src/northbridge/amd/amdk8/raminit.c trunk/src/northbridge/amd/amdk8/raminit_f.c
Modified: trunk/src/mainboard/amd/dbm690t/Kconfig ============================================================================== --- trunk/src/mainboard/amd/dbm690t/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/dbm690t/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -21,6 +21,7 @@ select SB_HT_CHAIN_UNITID_OFFSET_ONLY select BOARD_ROMSIZE_KB_1024 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/amd/dbm690t/romstage.c ============================================================================== --- trunk/src/mainboard/amd/dbm690t/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/dbm690t/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -18,7 +18,6 @@ */
#define SET_FIDVID 1 -#define QRANK_DIMM_SUPPORT 1 #if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1 #endif
Modified: trunk/src/mainboard/amd/mahogany/Kconfig ============================================================================== --- trunk/src/mainboard/amd/mahogany/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/mahogany/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -24,6 +24,7 @@ select BOARD_ROMSIZE_KB_1024 select RAMINIT_SYSINFO select GFXUMA + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/amd/mahogany/romstage.c ============================================================================== --- trunk/src/mainboard/amd/mahogany/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/mahogany/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -18,7 +18,6 @@ */
#define SET_FIDVID 1 -#define QRANK_DIMM_SUPPORT 1 #if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1 #endif
Modified: trunk/src/mainboard/amd/mahogany_fam10/Kconfig ============================================================================== --- trunk/src/mainboard/amd/mahogany_fam10/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/mahogany_fam10/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -28,6 +28,7 @@ select ENABLE_APIC_EXT_ID select TINY_BOOTBLOCK select GFXUMA + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/amd/mahogany_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/amd/mahogany_fam10/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/mahogany_fam10/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -24,7 +24,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
//used by incoherent_ht #define FAM10_SCAN_PCI_BUS 0
Modified: trunk/src/mainboard/amd/pistachio/Kconfig ============================================================================== --- trunk/src/mainboard/amd/pistachio/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/pistachio/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -21,6 +21,7 @@ select HAVE_ACPI_TABLES select BOARD_ROMSIZE_KB_1024 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/amd/pistachio/romstage.c ============================================================================== --- trunk/src/mainboard/amd/pistachio/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/pistachio/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -18,7 +18,6 @@ */
#define SET_FIDVID 1 -#define QRANK_DIMM_SUPPORT 1 #if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1 #endif
Modified: trunk/src/mainboard/amd/serengeti_cheetah/Kconfig ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/serengeti_cheetah/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -25,6 +25,7 @@ select HAVE_ACPI_TABLES select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/amd/serengeti_cheetah/ap_romstage.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah/ap_romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/serengeti_cheetah/ap_romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -4,7 +4,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
#define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
Modified: trunk/src/mainboard/amd/serengeti_cheetah/romstage.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/serengeti_cheetah/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -1,7 +1,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
//used by incoherent_ht //#define K8_ALLOCATE_IO_RANGE 1
Modified: trunk/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -26,6 +26,7 @@ select ENABLE_APIC_EXT_ID select LIFT_BSP_APIC_ID select TINY_BOOTBLOCK + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/amd/serengeti_cheetah_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah_fam10/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/serengeti_cheetah_fam10/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -24,7 +24,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
//used by incoherent_ht #define FAM10_SCAN_PCI_BUS 0
Modified: trunk/src/mainboard/amd/tilapia_fam10/Kconfig ============================================================================== --- trunk/src/mainboard/amd/tilapia_fam10/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/tilapia_fam10/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -28,6 +28,7 @@ select ENABLE_APIC_EXT_ID select TINY_BOOTBLOCK select GFXUMA + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/amd/tilapia_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/amd/tilapia_fam10/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/amd/tilapia_fam10/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -24,7 +24,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
//used by incoherent_ht #define FAM10_SCAN_PCI_BUS 0
Modified: trunk/src/mainboard/arima/hdama/Kconfig ============================================================================== --- trunk/src/mainboard/arima/hdama/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/arima/hdama/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -15,6 +15,7 @@ select HAVE_HARD_RESET select SB_HT_CHAIN_UNITID_OFFSET_ONLY select BOARD_ROMSIZE_KB_512 + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/arima/hdama/romstage.c ============================================================================== --- trunk/src/mainboard/arima/hdama/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/arima/hdama/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -67,7 +67,6 @@ return smbus_read_byte(device, address); }
-#define QRANK_DIMM_SUPPORT 1
#include "northbridge/amd/amdk8/raminit.c" #include "northbridge/amd/amdk8/resourcemap.c"
Modified: trunk/src/mainboard/asrock/939a785gmh/Kconfig ============================================================================== --- trunk/src/mainboard/asrock/939a785gmh/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/asrock/939a785gmh/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -24,6 +24,7 @@ select BOARD_ROMSIZE_KB_1024 select GFXUMA select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/asrock/939a785gmh/romstage.c ============================================================================== --- trunk/src/mainboard/asrock/939a785gmh/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/asrock/939a785gmh/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -19,7 +19,6 @@ */
#define SET_FIDVID 1 -#define QRANK_DIMM_SUPPORT 1 #if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1 #endif
Modified: trunk/src/mainboard/asus/a8n_e/Kconfig ============================================================================== --- trunk/src/mainboard/asus/a8n_e/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/asus/a8n_e/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -17,6 +17,7 @@ select BOARD_ROMSIZE_KB_512 select CK804_USE_NIC select CK804_USE_ACI + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/asus/a8n_e/romstage.c ============================================================================== --- trunk/src/mainboard/asus/a8n_e/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/asus/a8n_e/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -25,7 +25,6 @@ #define SERIAL_DEV PNP_DEV(0x2e, IT8712F_SP1)
/* Used by raminit. */ -#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS == 1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/asus/a8v-e_se/Kconfig ============================================================================== --- trunk/src/mainboard/asus/a8v-e_se/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/asus/a8v-e_se/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -16,6 +16,7 @@ select HAVE_MP_TABLE select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/asus/a8v-e_se/romstage.c ============================================================================== --- trunk/src/mainboard/asus/a8v-e_se/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/asus/a8v-e_se/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -25,7 +25,6 @@ unsigned int get_sbdn(unsigned bus);
/* Used by raminit. */ -#define QRANK_DIMM_SUPPORT 1
/* Used by init_cpus and fidvid */ #define SET_FIDVID 1
Modified: trunk/src/mainboard/asus/m2v-mx_se/Kconfig ============================================================================== --- trunk/src/mainboard/asus/m2v-mx_se/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/asus/m2v-mx_se/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -36,6 +36,7 @@ select VGA select TINY_BOOTBLOCK select HAVE_MAINBOARD_RESOURCES + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/asus/m2v-mx_se/romstage.c ============================================================================== --- trunk/src/mainboard/asus/m2v-mx_se/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/asus/m2v-mx_se/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -25,7 +25,6 @@ unsigned int get_sbdn(unsigned bus);
/* Used by raminit. */ -#define QRANK_DIMM_SUPPORT 1
/* Used by init_cpus and fidvid */ #define SET_FIDVID 1
Modified: trunk/src/mainboard/asus/m4a785-m/Kconfig ============================================================================== --- trunk/src/mainboard/asus/m4a785-m/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/asus/m4a785-m/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -27,6 +27,7 @@ select ENABLE_APIC_EXT_ID select TINY_BOOTBLOCK select GFXUMA + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/asus/m4a785-m/romstage.c ============================================================================== --- trunk/src/mainboard/asus/m4a785-m/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/asus/m4a785-m/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -24,7 +24,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
//used by incoherent_ht #define FAM10_SCAN_PCI_BUS 0
Modified: trunk/src/mainboard/broadcom/blast/Kconfig ============================================================================== --- trunk/src/mainboard/broadcom/blast/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/broadcom/blast/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -16,6 +16,7 @@ select HAVE_HARD_RESET select BOARD_ROMSIZE_KB_512 select SB_HT_CHAIN_UNITID_OFFSET_ONLY + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/broadcom/blast/romstage.c ============================================================================== --- trunk/src/mainboard/broadcom/blast/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/broadcom/blast/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -1,4 +1,3 @@ -#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/gigabyte/ga_2761gxdk/Kconfig ============================================================================== --- trunk/src/mainboard/gigabyte/ga_2761gxdk/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/gigabyte/ga_2761gxdk/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -19,6 +19,7 @@ select K8_REV_F_SUPPORT select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/gigabyte/ga_2761gxdk/ap_romstage.c ============================================================================== --- trunk/src/mainboard/gigabyte/ga_2761gxdk/ap_romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/gigabyte/ga_2761gxdk/ap_romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -27,7 +27,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
#define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
Modified: trunk/src/mainboard/gigabyte/ga_2761gxdk/romstage.c ============================================================================== --- trunk/src/mainboard/gigabyte/ga_2761gxdk/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/gigabyte/ga_2761gxdk/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -23,7 +23,6 @@
#define K8_ALLOCATE_IO_RANGE 1
-#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/gigabyte/m57sli/Kconfig ============================================================================== --- trunk/src/mainboard/gigabyte/m57sli/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/gigabyte/m57sli/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -23,6 +23,7 @@ select K8_REV_F_SUPPORT select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/gigabyte/m57sli/ap_romstage.c ============================================================================== --- trunk/src/mainboard/gigabyte/m57sli/ap_romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/gigabyte/m57sli/ap_romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -25,7 +25,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
#define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
Modified: trunk/src/mainboard/gigabyte/m57sli/romstage.c ============================================================================== --- trunk/src/mainboard/gigabyte/m57sli/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/gigabyte/m57sli/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -21,7 +21,6 @@
#define K8_ALLOCATE_IO_RANGE 1
-#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/gigabyte/ma785gmt/Kconfig ============================================================================== --- trunk/src/mainboard/gigabyte/ma785gmt/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/gigabyte/ma785gmt/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -28,6 +28,7 @@ select TINY_BOOTBLOCK select GFXUMA select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/gigabyte/ma785gmt/romstage.c ============================================================================== --- trunk/src/mainboard/gigabyte/ma785gmt/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/gigabyte/ma785gmt/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -24,7 +24,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
//used by init_cpus and fidvid #define SET_FIDVID 1
Modified: trunk/src/mainboard/gigabyte/ma78gm/Kconfig ============================================================================== --- trunk/src/mainboard/gigabyte/ma78gm/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/gigabyte/ma78gm/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -28,6 +28,7 @@ select TINY_BOOTBLOCK select GFXUMA select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/gigabyte/ma78gm/romstage.c ============================================================================== --- trunk/src/mainboard/gigabyte/ma78gm/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/gigabyte/ma78gm/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -24,7 +24,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
//used by incoherent_ht #define FAM10_SCAN_PCI_BUS 0
Modified: trunk/src/mainboard/hp/dl145_g1/Kconfig ============================================================================== --- trunk/src/mainboard/hp/dl145_g1/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/hp/dl145_g1/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -16,6 +16,7 @@ select HAVE_MP_TABLE select BOARD_ROMSIZE_KB_512 # select SB_HT_CHAIN_UNITID_OFFSET_ONLY + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/hp/dl145_g1/romstage.c ============================================================================== --- trunk/src/mainboard/hp/dl145_g1/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/hp/dl145_g1/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -1,4 +1,3 @@ -#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/hp/dl145_g3/Kconfig ============================================================================== --- trunk/src/mainboard/hp/dl145_g3/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/hp/dl145_g3/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -21,6 +21,7 @@ select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO select SB_HT_CHAIN_UNITID_OFFSET_ONLY + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/hp/dl145_g3/romstage.c ============================================================================== --- trunk/src/mainboard/hp/dl145_g3/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/hp/dl145_g3/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -27,7 +27,6 @@
#define K8_ALLOCATE_IO_RANGE 1
-#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/hp/dl165_g6_fam10/Kconfig ============================================================================== --- trunk/src/mainboard/hp/dl165_g6_fam10/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/hp/dl165_g6_fam10/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -23,6 +23,7 @@ select ENABLE_APIC_EXT_ID select AMDMCT select TINY_BOOTBLOCK + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/hp/dl165_g6_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/hp/dl165_g6_fam10/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/hp/dl165_g6_fam10/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -28,7 +28,6 @@ #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 1
-#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/ibm/e325/Kconfig ============================================================================== --- trunk/src/mainboard/ibm/e325/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/ibm/e325/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -16,6 +16,7 @@ select SB_HT_CHAIN_UNITID_OFFSET_ONLY select WAIT_BEFORE_CPUS_INIT select BOARD_ROMSIZE_KB_512 + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/ibm/e325/romstage.c ============================================================================== --- trunk/src/mainboard/ibm/e325/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/ibm/e325/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -64,7 +64,6 @@ return smbus_read_byte(device, address); }
-#define QRANK_DIMM_SUPPORT 1
#include "northbridge/amd/amdk8/raminit.c" #include "resourcemap.c"
Modified: trunk/src/mainboard/ibm/e326/Kconfig ============================================================================== --- trunk/src/mainboard/ibm/e326/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/ibm/e326/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -16,6 +16,7 @@ select SB_HT_CHAIN_UNITID_OFFSET_ONLY select WAIT_BEFORE_CPUS_INIT select BOARD_ROMSIZE_KB_512 + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/ibm/e326/romstage.c ============================================================================== --- trunk/src/mainboard/ibm/e326/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/ibm/e326/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -64,7 +64,6 @@ return smbus_read_byte(device, address); }
-#define QRANK_DIMM_SUPPORT 1
#include "northbridge/amd/amdk8/raminit.c" #include "resourcemap.c"
Modified: trunk/src/mainboard/iei/kino-780am2-fam10/Kconfig ============================================================================== --- trunk/src/mainboard/iei/kino-780am2-fam10/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/iei/kino-780am2-fam10/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -28,6 +28,7 @@ select ENABLE_APIC_EXT_ID select TINY_BOOTBLOCK select GFXUMA + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/iei/kino-780am2-fam10/romstage.c ============================================================================== --- trunk/src/mainboard/iei/kino-780am2-fam10/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/iei/kino-780am2-fam10/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -24,7 +24,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
//used by incoherent_ht #define FAM10_SCAN_PCI_BUS 0
Modified: trunk/src/mainboard/iwill/dk8_htx/Kconfig ============================================================================== --- trunk/src/mainboard/iwill/dk8_htx/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/iwill/dk8_htx/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -21,6 +21,7 @@ select HAVE_ACPI_TABLES select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/iwill/dk8_htx/romstage.c ============================================================================== --- trunk/src/mainboard/iwill/dk8_htx/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/iwill/dk8_htx/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -1,7 +1,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
//used by incoherent_ht //#define K8_ALLOCATE_IO_RANGE 1
Modified: trunk/src/mainboard/iwill/dk8s2/Kconfig ============================================================================== --- trunk/src/mainboard/iwill/dk8s2/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/iwill/dk8s2/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -18,6 +18,7 @@ select ATI_RAGE_XL select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/iwill/dk8s2/romstage.c ============================================================================== --- trunk/src/mainboard/iwill/dk8s2/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/iwill/dk8s2/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -1,7 +1,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
//used by incoherent_ht //#define K8_ALLOCATE_IO_RANGE 1
Modified: trunk/src/mainboard/iwill/dk8x/Kconfig ============================================================================== --- trunk/src/mainboard/iwill/dk8x/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/iwill/dk8x/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -17,6 +17,7 @@ select WAIT_BEFORE_CPUS_INIT select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/iwill/dk8x/romstage.c ============================================================================== --- trunk/src/mainboard/iwill/dk8x/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/iwill/dk8x/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -1,7 +1,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
//used by incoherent_ht //#define K8_ALLOCATE_IO_RANGE 1
Modified: trunk/src/mainboard/jetway/pa78vm5/Kconfig ============================================================================== --- trunk/src/mainboard/jetway/pa78vm5/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/jetway/pa78vm5/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -28,6 +28,7 @@ select ENABLE_APIC_EXT_ID select TINY_BOOTBLOCK select GFXUMA + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/jetway/pa78vm5/romstage.c ============================================================================== --- trunk/src/mainboard/jetway/pa78vm5/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/jetway/pa78vm5/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -25,7 +25,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
//used by incoherent_ht #define FAM10_SCAN_PCI_BUS 0
Modified: trunk/src/mainboard/kontron/kt690/Kconfig ============================================================================== --- trunk/src/mainboard/kontron/kt690/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/kontron/kt690/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -22,6 +22,7 @@ select BOARD_ROMSIZE_KB_1024 select RAMINIT_SYSINFO select SB_HT_CHAIN_UNITID_OFFSET_ONLY + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/kontron/kt690/romstage.c ============================================================================== --- trunk/src/mainboard/kontron/kt690/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/kontron/kt690/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -19,7 +19,6 @@ */
#define SET_FIDVID 1 -#define QRANK_DIMM_SUPPORT 1 #if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1 #endif
Modified: trunk/src/mainboard/msi/ms7135/Kconfig ============================================================================== --- trunk/src/mainboard/msi/ms7135/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/msi/ms7135/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -16,6 +16,7 @@ select BOARD_ROMSIZE_KB_512 select CK804_USE_NIC select CK804_USE_ACI + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/msi/ms7135/romstage.c ============================================================================== --- trunk/src/mainboard/msi/ms7135/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/msi/ms7135/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -25,7 +25,6 @@ #define SERIAL_DEV PNP_DEV(0x4e, W83627THF_SP1)
/* Used by raminit. */ -#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS == 1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/msi/ms7260/Kconfig ============================================================================== --- trunk/src/mainboard/msi/ms7260/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/msi/ms7260/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -21,6 +21,7 @@ select K8_REV_F_SUPPORT select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/msi/ms7260/ap_romstage.c ============================================================================== --- trunk/src/mainboard/msi/ms7260/ap_romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/msi/ms7260/ap_romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -24,7 +24,6 @@ #define __PRE_RAM__
#define SET_NB_CFG_54 1 /* Used by RAM init. */ -#define QRANK_DIMM_SUPPORT 1 #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 Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/msi/ms7260/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -25,7 +25,6 @@ // #define RES_DEBUG 1
#define K8_ALLOCATE_IO_RANGE 1 -#define QRANK_DIMM_SUPPORT 1 #if CONFIG_LOGICAL_CPUS == 1 #define SET_NB_CFG_54 1 #endif
Modified: trunk/src/mainboard/msi/ms9185/Kconfig ============================================================================== --- trunk/src/mainboard/msi/ms9185/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/msi/ms9185/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -21,6 +21,7 @@ select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO select SB_HT_CHAIN_UNITID_OFFSET_ONLY + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/msi/ms9185/romstage.c ============================================================================== --- trunk/src/mainboard/msi/ms9185/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/msi/ms9185/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -26,7 +26,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
//used by incoherent_ht //#define K8_ALLOCATE_IO_RANGE 1
Modified: trunk/src/mainboard/msi/ms9282/Kconfig ============================================================================== --- trunk/src/mainboard/msi/ms9282/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/msi/ms9282/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -19,6 +19,7 @@ select K8_REV_F_SUPPORT select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/msi/ms9282/romstage.c ============================================================================== --- trunk/src/mainboard/msi/ms9282/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/msi/ms9282/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -25,7 +25,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
// used by init_cpus and fidvid (disabled until someone tests this) // #define SET_FIDVID 1
Modified: trunk/src/mainboard/msi/ms9652_fam10/Kconfig ============================================================================== --- trunk/src/mainboard/msi/ms9652_fam10/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/msi/ms9652_fam10/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -24,6 +24,7 @@ select AMDMCT select TINY_BOOTBLOCK select SB_HT_CHAIN_UNITID_OFFSET_ONLY + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/msi/ms9652_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/msi/ms9652_fam10/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/msi/ms9652_fam10/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -22,7 +22,6 @@ #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 1
-#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/newisys/khepri/Kconfig ============================================================================== --- trunk/src/mainboard/newisys/khepri/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/newisys/khepri/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -15,6 +15,7 @@ select HAVE_HARD_RESET select BOARD_ROMSIZE_KB_512 select SB_HT_CHAIN_UNITID_OFFSET_ONLY + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/newisys/khepri/romstage.c ============================================================================== --- trunk/src/mainboard/newisys/khepri/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/newisys/khepri/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -72,7 +72,6 @@ return smbus_read_byte(device, address); }
-#define QRANK_DIMM_SUPPORT 1
#include "northbridge/amd/amdk8/raminit.c" #include "northbridge/amd/amdk8/coherent_ht.c"
Modified: trunk/src/mainboard/nvidia/l1_2pvv/Kconfig ============================================================================== --- trunk/src/mainboard/nvidia/l1_2pvv/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/nvidia/l1_2pvv/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -22,6 +22,7 @@ select K8_REV_F_SUPPORT select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/nvidia/l1_2pvv/ap_romstage.c ============================================================================== --- trunk/src/mainboard/nvidia/l1_2pvv/ap_romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/nvidia/l1_2pvv/ap_romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -25,7 +25,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
#define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
Modified: trunk/src/mainboard/nvidia/l1_2pvv/romstage.c ============================================================================== --- trunk/src/mainboard/nvidia/l1_2pvv/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/nvidia/l1_2pvv/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -21,7 +21,6 @@
#define K8_ALLOCATE_IO_RANGE 1
-#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/sunw/ultra40/Kconfig ============================================================================== --- trunk/src/mainboard/sunw/ultra40/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/sunw/ultra40/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -16,6 +16,7 @@ select BOARD_ROMSIZE_KB_1024 select CK804_USE_NIC select CK804_USE_ACI + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/sunw/ultra40/romstage.c ============================================================================== --- trunk/src/mainboard/sunw/ultra40/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/sunw/ultra40/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -1,6 +1,5 @@ #define K8_ALLOCATE_IO_RANGE 1
-#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/supermicro/h8dme/Kconfig ============================================================================== --- trunk/src/mainboard/supermicro/h8dme/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/supermicro/h8dme/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -22,6 +22,7 @@ select LIFT_BSP_APIC_ID select BOARD_ROMSIZE_KB_1024 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/supermicro/h8dme/ap_romstage.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dme/ap_romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/supermicro/h8dme/ap_romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -25,7 +25,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
#define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
Modified: trunk/src/mainboard/supermicro/h8dme/romstage.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dme/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/supermicro/h8dme/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -18,7 +18,6 @@
#define K8_ALLOCATE_IO_RANGE 1
-#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/supermicro/h8dmr/Kconfig ============================================================================== --- trunk/src/mainboard/supermicro/h8dmr/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/supermicro/h8dmr/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -21,6 +21,7 @@ select LIFT_BSP_APIC_ID select BOARD_ROMSIZE_KB_1024 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/supermicro/h8dmr/ap_romstage.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dmr/ap_romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/supermicro/h8dmr/ap_romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -25,7 +25,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
#define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
Modified: trunk/src/mainboard/supermicro/h8dmr/romstage.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dmr/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/supermicro/h8dmr/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -21,7 +21,6 @@
#define K8_ALLOCATE_IO_RANGE 1
-#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/supermicro/h8dmr_fam10/Kconfig ============================================================================== --- trunk/src/mainboard/supermicro/h8dmr_fam10/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/supermicro/h8dmr_fam10/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -23,6 +23,7 @@ select RAMINIT_SYSINFO select TINY_BOOTBLOCK select ENABLE_APIC_EXT_ID + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/supermicro/h8dmr_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dmr_fam10/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/supermicro/h8dmr_fam10/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -22,7 +22,6 @@ #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 1
-#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/supermicro/h8qme_fam10/Kconfig ============================================================================== --- trunk/src/mainboard/supermicro/h8qme_fam10/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/supermicro/h8qme_fam10/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -22,6 +22,7 @@ select RAMINIT_SYSINFO select TINY_BOOTBLOCK select ENABLE_APIC_EXT_ID + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/supermicro/h8qme_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/supermicro/h8qme_fam10/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/supermicro/h8qme_fam10/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -22,7 +22,6 @@ #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 1
-#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/technexion/tim5690/Kconfig ============================================================================== --- trunk/src/mainboard/technexion/tim5690/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/technexion/tim5690/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -22,6 +22,7 @@ select HAVE_MAINBOARD_RESOURCES select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/technexion/tim5690/romstage.c ============================================================================== --- trunk/src/mainboard/technexion/tim5690/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/technexion/tim5690/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -18,7 +18,6 @@ */
#define SET_FIDVID 1 -#define QRANK_DIMM_SUPPORT 1 #if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1 #endif
Modified: trunk/src/mainboard/technexion/tim8690/Kconfig ============================================================================== --- trunk/src/mainboard/technexion/tim8690/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/technexion/tim8690/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -21,6 +21,7 @@ select HAVE_ACPI_TABLES select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/technexion/tim8690/romstage.c ============================================================================== --- trunk/src/mainboard/technexion/tim8690/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/technexion/tim8690/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -18,7 +18,6 @@ */
#define SET_FIDVID 1 -#define QRANK_DIMM_SUPPORT 1 #if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1 #endif
Modified: trunk/src/mainboard/tyan/s2875/Kconfig ============================================================================== --- trunk/src/mainboard/tyan/s2875/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2875/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -15,6 +15,7 @@ select HAVE_MP_TABLE select BOARD_ROMSIZE_KB_512 select SB_HT_CHAIN_UNITID_OFFSET_ONLY + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/tyan/s2875/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2875/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2875/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -62,7 +62,6 @@ return smbus_read_byte(device, address); }
-#define QRANK_DIMM_SUPPORT 1
#include "northbridge/amd/amdk8/raminit.c" #include "northbridge/amd/amdk8/coherent_ht.c"
Modified: trunk/src/mainboard/tyan/s2880/Kconfig ============================================================================== --- trunk/src/mainboard/tyan/s2880/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2880/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -15,6 +15,7 @@ select HAVE_MP_TABLE select BOARD_ROMSIZE_KB_512 select SB_HT_CHAIN_UNITID_OFFSET_ONLY + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/tyan/s2880/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2880/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2880/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -62,7 +62,6 @@ return smbus_read_byte(device, address); }
-#define QRANK_DIMM_SUPPORT 1
#include "northbridge/amd/amdk8/raminit.c" #include "northbridge/amd/amdk8/resourcemap.c"
Modified: trunk/src/mainboard/tyan/s2881/Kconfig ============================================================================== --- trunk/src/mainboard/tyan/s2881/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2881/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -17,6 +17,7 @@ select BOARD_ROMSIZE_KB_512 select SB_HT_CHAIN_UNITID_OFFSET_ONLY select DRIVERS_SIL_3114 + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/tyan/s2881/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2881/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2881/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -1,4 +1,3 @@ -#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/tyan/s2882/Kconfig ============================================================================== --- trunk/src/mainboard/tyan/s2882/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2882/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -16,6 +16,7 @@ select BOARD_ROMSIZE_KB_512 select SB_HT_CHAIN_UNITID_OFFSET_ONLY select DRIVERS_SIL_3114 + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/tyan/s2882/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2882/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2882/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -62,7 +62,6 @@ return smbus_read_byte(device, address); }
-#define QRANK_DIMM_SUPPORT 1
#include "northbridge/amd/amdk8/raminit.c" #include "northbridge/amd/amdk8/resourcemap.c"
Modified: trunk/src/mainboard/tyan/s2885/Kconfig ============================================================================== --- trunk/src/mainboard/tyan/s2885/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2885/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -17,6 +17,7 @@ select HAVE_MP_TABLE select BOARD_ROMSIZE_KB_512 select SB_HT_CHAIN_UNITID_OFFSET_ONLY + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/tyan/s2885/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2885/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2885/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -62,7 +62,6 @@ return smbus_read_byte(device, address); }
-#define QRANK_DIMM_SUPPORT 1
#include "northbridge/amd/amdk8/raminit.c" #include "northbridge/amd/amdk8/coherent_ht.c"
Modified: trunk/src/mainboard/tyan/s2891/Kconfig ============================================================================== --- trunk/src/mainboard/tyan/s2891/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2891/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -18,6 +18,7 @@ select HAVE_ACPI_TABLES select BOARD_ROMSIZE_KB_512 select SB_HT_CHAIN_UNITID_OFFSET_ONLY + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/tyan/s2891/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2891/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2891/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -1,5 +1,4 @@ //used by raminit -#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/tyan/s2892/Kconfig ============================================================================== --- trunk/src/mainboard/tyan/s2892/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2892/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -17,6 +17,7 @@ select SERIAL_CPU_INIT select HAVE_ACPI_TABLES select BOARD_ROMSIZE_KB_1024 + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/tyan/s2892/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2892/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2892/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -1,4 +1,3 @@ -#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/tyan/s2895/Kconfig ============================================================================== --- trunk/src/mainboard/tyan/s2895/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2895/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -17,6 +17,7 @@ select SERIAL_CPU_INIT select HAVE_ACPI_TABLES select BOARD_ROMSIZE_KB_1024 + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/tyan/s2895/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2895/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2895/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -1,6 +1,5 @@ #define K8_ALLOCATE_IO_RANGE 1
-#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/tyan/s2912/Kconfig ============================================================================== --- trunk/src/mainboard/tyan/s2912/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2912/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -21,6 +21,7 @@ select K8_REV_F_SUPPORT select BOARD_ROMSIZE_KB_512 select RAMINIT_SYSINFO + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/tyan/s2912/ap_romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2912/ap_romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2912/ap_romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -25,7 +25,6 @@ #define SET_NB_CFG_54 1
//used by raminit -#define QRANK_DIMM_SUPPORT 1
#define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
Modified: trunk/src/mainboard/tyan/s2912/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2912/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2912/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -21,7 +21,6 @@
#define K8_ALLOCATE_IO_RANGE 1
-#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/tyan/s2912_fam10/Kconfig ============================================================================== --- trunk/src/mainboard/tyan/s2912_fam10/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2912_fam10/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -23,6 +23,7 @@ select AMDMCT select TINY_BOOTBLOCK select MMCONF_SUPPORT_DEFAULT + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/tyan/s2912_fam10/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s2912_fam10/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s2912_fam10/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -22,7 +22,6 @@ #define FAM10_SCAN_PCI_BUS 0 #define FAM10_ALLOCATE_IO_RANGE 1
-#define QRANK_DIMM_SUPPORT 1
#if CONFIG_LOGICAL_CPUS==1 #define SET_NB_CFG_54 1
Modified: trunk/src/mainboard/tyan/s4880/Kconfig ============================================================================== --- trunk/src/mainboard/tyan/s4880/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s4880/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -15,6 +15,7 @@ select HAVE_HARD_RESET select BOARD_ROMSIZE_KB_512 select SB_HT_CHAIN_UNITID_OFFSET_ONLY + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/tyan/s4880/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s4880/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s4880/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -76,7 +76,6 @@ return smbus_read_byte(device, address); }
-#define QRANK_DIMM_SUPPORT 1
#include "northbridge/amd/amdk8/raminit.c" #include "northbridge/amd/amdk8/coherent_ht.c"
Modified: trunk/src/mainboard/tyan/s4882/Kconfig ============================================================================== --- trunk/src/mainboard/tyan/s4882/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s4882/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -15,6 +15,7 @@ select HAVE_HARD_RESET select BOARD_ROMSIZE_KB_512 select SB_HT_CHAIN_UNITID_OFFSET_ONLY + select QRANK_DIMM_SUPPORT
config MAINBOARD_DIR string
Modified: trunk/src/mainboard/tyan/s4882/romstage.c ============================================================================== --- trunk/src/mainboard/tyan/s4882/romstage.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/mainboard/tyan/s4882/romstage.c Fri Nov 5 23:59:49 2010 (r6028) @@ -84,7 +84,6 @@ return smbus_read_byte(device, address); }
-#define QRANK_DIMM_SUPPORT 1
#include "northbridge/amd/amdk8/raminit.c" #include "northbridge/amd/amdk8/coherent_ht.c"
Modified: trunk/src/northbridge/amd/amdk8/Kconfig ============================================================================== --- trunk/src/northbridge/amd/amdk8/Kconfig Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/northbridge/amd/amdk8/Kconfig Fri Nov 5 23:59:49 2010 (r6028) @@ -49,6 +49,10 @@ bool default n
+config QRANK_DIMM_SUPPORT + bool + default n + if K8_REV_F_SUPPORT
config DIMM_DDR2
Modified: trunk/src/northbridge/amd/amdk8/raminit.c ============================================================================== --- trunk/src/northbridge/amd/amdk8/raminit.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/northbridge/amd/amdk8/raminit.c Fri Nov 5 23:59:49 2010 (r6028) @@ -18,10 +18,6 @@ # error "CONFIG_RAMTOP must be a power of 2" #endif
-#ifndef QRANK_DIMM_SUPPORT -#define QRANK_DIMM_SUPPORT 0 -#endif - void setup_resource_map(const unsigned int *register_values, int max) { int i; @@ -595,7 +591,7 @@ unsigned long side2; unsigned long rows; unsigned long col; -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT unsigned long rank; #endif }; @@ -609,7 +605,7 @@ sz.side2 = 0; sz.rows = 0; sz.col = 0; -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT sz.rank = 0; #endif
@@ -653,7 +649,7 @@ if ((value != 2) && (value != 4 )) { goto val_err; } -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT sz.rank = value; #endif
@@ -682,7 +678,7 @@ sz.side2 = 0; sz.rows = 0; sz.col = 0; -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT sz.rank = 0; #endif out: @@ -730,7 +726,7 @@ /* Set the appropriate DIMM base address register */ pci_write_config32(ctrl->f2, DRAM_CSBASE + (((index << 1)+0)<<2), base0); pci_write_config32(ctrl->f2, DRAM_CSBASE + (((index << 1)+1)<<2), base1); -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT if (sz.rank == 4) { pci_write_config32(ctrl->f2, DRAM_CSBASE + (((index << 1)+4)<<2), base0); pci_write_config32(ctrl->f2, DRAM_CSBASE + (((index << 1)+5)<<2), base1); @@ -741,7 +737,7 @@ if (base0) { dch = pci_read_config32(ctrl->f2, DRAM_CONFIG_HIGH); dch |= DCH_MEMCLK_EN0 << index; -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT if (sz.rank == 4) { dch |= DCH_MEMCLK_EN0 << (index + 2); } @@ -763,7 +759,7 @@
map = pci_read_config32(ctrl->f2, DRAM_BANK_ADDR_MAP); map &= ~(0xf << (index * 4)); -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT if (sz.rank == 4) { map &= ~(0xf << ( (index + 2) * 4)); } @@ -774,7 +770,7 @@ if (sz.side1 >= (25 +3)) { if (is_cpu_pre_d0()) { map |= (sz.side1 - (25 + 3)) << (index *4); -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT if (sz.rank == 4) { map |= (sz.side1 - (25 + 3)) << ( (index + 2) * 4); } @@ -782,7 +778,7 @@ } else { map |= cs_map_aa[(sz.rows - 12) * 5 + (sz.col - 8) ] << (index*4); -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT if (sz.rank == 4) { map |= cs_map_aa[(sz.rows - 12) * 5 + (sz.col - 8) ] << ( (index + 2) * 4); } @@ -1526,7 +1522,7 @@ } #if 0 //down speed for full load 4 rank support -#if QRANK_DIMM_SUPPORT +#if CONFIG_QRANK_DIMM_SUPPORT if (dimm_mask == (3|(3<<DIMM_SOCKETS)) ) { int ranks = 4; for (i = 0; (i < 4) && (ctrl->channel0[i]); i++) { @@ -1793,7 +1789,7 @@ { uint32_t dcl; int value; -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT int rank; #endif int dimm; @@ -1802,7 +1798,7 @@ return -1; }
-#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT rank = spd_read_byte(ctrl->channel0[i], 5); /* number of physical banks */ if (rank < 0) { return -1; @@ -1810,7 +1806,7 @@ #endif
dimm = 1<<(DCL_x4DIMM_SHIFT+i); -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT if (rank==4) { dimm |= 1<<(DCL_x4DIMM_SHIFT+i+2); }
Modified: trunk/src/northbridge/amd/amdk8/raminit_f.c ============================================================================== --- trunk/src/northbridge/amd/amdk8/raminit_f.c Fri Nov 5 17:17:46 2010 (r6027) +++ trunk/src/northbridge/amd/amdk8/raminit_f.c Fri Nov 5 23:59:49 2010 (r6028) @@ -32,10 +32,6 @@ #include "option_table.h" #endif
-#ifndef QRANK_DIMM_SUPPORT -#define QRANK_DIMM_SUPPORT 0 -#endif - #if CONFIG_DEBUG_RAM_SETUP #define printk_raminit(fmt, arg...) printk(BIOS_DEBUG, fmt, arg) #else @@ -870,7 +866,7 @@ /* Set the appropriate DIMM base address register */ pci_write_config32(ctrl->f2, DRAM_CSBASE + (((index << 1) + 0) << 2), base0); pci_write_config32(ctrl->f2, DRAM_CSBASE + (((index << 1) + 1) << 2), base1); -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT if (sz->rank == 4) { pci_write_config32(ctrl->f2, DRAM_CSBASE + (((index << 1) + 4) << 2), base0); pci_write_config32(ctrl->f2, DRAM_CSBASE + (((index << 1) + 5) << 2), base1); @@ -898,7 +894,7 @@ } else { dword = pci_read_config32(ctrl->f2, DRAM_TIMING_LOW); //Channel A dword &= ~(ClkDis0 >> index); -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT if (sz->rank == 4) { dword &= ~(ClkDis0 >> (index+2)); } @@ -908,7 +904,7 @@ if (meminfo->is_Width128) { // ChannelA+B dword = pci_read_config32(ctrl->f2, DRAM_CTRL_MISC); dword &= ~(ClkDis0 >> index); -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT if (sz->rank == 4) { dword &= ~(ClkDis0 >> (index+2)); } @@ -961,7 +957,7 @@ } map = pci_read_config32(ctrl->f2, DRAM_BANK_ADDR_MAP); map &= ~(0xf << (index * 4)); -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT if (sz->rank == 4) { map &= ~(0xf << ( (index + 2) * 4)); } @@ -972,7 +968,7 @@ unsigned temp_map; temp_map = cs_map_aaa[(sz->bank-2)*3*4 + (sz->rows - 13)*3 + (sz->col - 9) ]; map |= temp_map << (index*4); -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT if (sz->rank == 4) { map |= temp_map << ( (index + 2) * 4); } @@ -1312,7 +1308,7 @@ } else { pci_write_config32(ctrl->f2, DRAM_CSBASE + (((index << 1) + 0) << 2), 0); pci_write_config32(ctrl->f2, DRAM_CSBASE + (((index << 1) + 1) << 2), 0); -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT if (meminfo->sz[index].rank == 4) { pci_write_config32(ctrl->f2, DRAM_CSBASE + (((index << 1) + 4) << 2), 0); pci_write_config32(ctrl->f2, DRAM_CSBASE + (((index << 1) + 5) << 2), 0); @@ -2194,7 +2190,7 @@ static void set_4RankRDimm(const struct mem_controller *ctrl, const struct mem_param *param, struct mem_info *meminfo) { -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT int value; int i; long dimm_mask = meminfo->dimm_mask; @@ -2234,7 +2230,7 @@ uint32_t mask_single_rank; uint32_t mask_page_1k; int value; -#if QRANK_DIMM_SUPPORT == 1 +#if CONFIG_QRANK_DIMM_SUPPORT int rank; #endif
@@ -2267,20 +2263,20 @@
value = spd_read_byte(spd_device, SPD_PRI_WIDTH);
- #if QRANK_DIMM_SUPPORT == 1 + #if CONFIG_QRANK_DIMM_SUPPORT rank = meminfo->sz[i].rank; #endif
if (value==4) { mask_x4 |= (1<<i); - #if QRANK_DIMM_SUPPORT == 1 + #if CONFIG_QRANK_DIMM_SUPPORT if (rank==4) { mask_x4 |= 1<<(i+2); } #endif } else if (value==16) { mask_x16 |= (1<<i); - #if QRANK_DIMM_SUPPORT == 1 + #if CONFIG_QRANK_DIMM_SUPPORT if (rank==4) { mask_x16 |= 1<<(i+2); }