summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2010-11-18 11:36:16 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-11-18 11:36:16 +0000
commit8c107bc9e4ac0378e6a6e6ee200e59b8c0c84960 (patch)
tree582653533b074590395c2787524d29a53719a752 /src/mainboard
parent9e180387bdaf4ad6e29cd2b7044bccfb1b1e6f67 (diff)
downloadcoreboot-8c107bc9e4ac0378e6a6e6ee200e59b8c0c84960.tar.xz
Move DIMM_MAP_LOGICAL to Kconfig.
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Acked-by: Patrick Georgi <patrick@georgi-clan.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6089 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/dell/s1850/Kconfig4
-rw-r--r--src/mainboard/dell/s1850/romstage.c3
-rw-r--r--src/mainboard/intel/jarrell/Kconfig4
-rw-r--r--src/mainboard/intel/jarrell/romstage.c2
4 files changed, 8 insertions, 5 deletions
diff --git a/src/mainboard/dell/s1850/Kconfig b/src/mainboard/dell/s1850/Kconfig
index 22cdf7ed5b..4185dfcb9c 100644
--- a/src/mainboard/dell/s1850/Kconfig
+++ b/src/mainboard/dell/s1850/Kconfig
@@ -46,4 +46,8 @@ config IRQ_SLOT_COUNT
int
default 9
+config DIMM_MAP_LOGICAL
+ hex
+ default 0x2841
+
endif # BOARD_DELL_S1850
diff --git a/src/mainboard/dell/s1850/romstage.c b/src/mainboard/dell/s1850/romstage.c
index 6ebf88cb0b..a935ffc13d 100644
--- a/src/mainboard/dell/s1850/romstage.c
+++ b/src/mainboard/dell/s1850/romstage.c
@@ -37,9 +37,6 @@ static inline int spd_read_byte(unsigned device, unsigned address)
return smbus_read_byte(device, address);
}
-/* this is very highly mainboard dependent, related to wiring */
-/* from factory BIOS via lspci */
-#define DIMM_MAP_LOGICAL 0x2841
#include "northbridge/intel/e7520/raminit.c"
#include "lib/generic_sdram.c"
diff --git a/src/mainboard/intel/jarrell/Kconfig b/src/mainboard/intel/jarrell/Kconfig
index f6c701d485..2ac8ea3c13 100644
--- a/src/mainboard/intel/jarrell/Kconfig
+++ b/src/mainboard/intel/jarrell/Kconfig
@@ -43,4 +43,8 @@ config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x1079
+config DIMM_MAP_LOGICAL
+ hex
+ default 0x0124
+
endif # BOARD_INTEL_JARRELL
diff --git a/src/mainboard/intel/jarrell/romstage.c b/src/mainboard/intel/jarrell/romstage.c
index 0220ec8fab..530c22ae24 100644
--- a/src/mainboard/intel/jarrell/romstage.c
+++ b/src/mainboard/intel/jarrell/romstage.c
@@ -29,8 +29,6 @@
#define DEVPRES_CONFIG (DEVPRES_D1F0 | DEVPRES_D2F0 | DEVPRES_D6F0)
#define DEVPRES1_CONFIG (DEVPRES1_D0F1 | DEVPRES1_D8F0)
-#define DIMM_MAP_LOGICAL 0x0124
-
static inline int spd_read_byte(unsigned device, unsigned address)
{
return smbus_read_byte(device, address);