summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2010-09-10 18:33:24 +0000
committerMyles Watson <mylesgw@gmail.com>2010-09-10 18:33:24 +0000
commit6ea2115ceae9d426f293b029f305e61a01346640 (patch)
tree13ac5430e7442060dc6e97956a015fe04ab1d1d0 /src/northbridge
parent17daf9a941e1c5653a84ba651b21815404f2b4b5 (diff)
Move memory type information out of some AMD sockets.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5800 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/amd/amdfam10/Kconfig48
-rw-r--r--src/northbridge/amd/amdk8/Kconfig24
2 files changed, 72 insertions, 0 deletions
diff --git a/src/northbridge/amd/amdfam10/Kconfig b/src/northbridge/amd/amdfam10/Kconfig
index 5ba0fa9515..e73eca81d4 100644
--- a/src/northbridge/amd/amdfam10/Kconfig
+++ b/src/northbridge/amd/amdfam10/Kconfig
@@ -75,4 +75,52 @@ config SB_HT_CHAIN_UNITID_OFFSET_ONLY
default n
depends on NORTHBRIDGE_AMD_AMDFAM10
+config DIMM_FBDIMM
+ bool
+ default n
+ depends on NORTHBRIDGE_AMD_AMDFAM10
+
+config DIMM_DDR2
+ bool
+ default n
+ depends on NORTHBRIDGE_AMD_AMDFAM10
+
+config DIMM_DDR3
+ bool
+ default n
+ depends on NORTHBRIDGE_AMD_AMDFAM10
+
+config DIMM_REGISTERED
+ bool
+ default n
+ depends on NORTHBRIDGE_AMD_AMDFAM10
+
+if DIMM_FB_DIMM
+ config DIMM_SUPPORT
+ hex
+ default 0x0110
+endif
+
+if DIMM_DDR2
+ if DIMM_REGISTERED
+ config DIMM_SUPPORT
+ hex
+ default 0x0104
+ endif
+
+ if !DIMM_REGISTERED
+ config DIMM_SUPPORT
+ hex
+ default 0x0004
+ endif
+endif
+
+if DIMM_DDR3
+ if DIMM_REGISTERED
+ config DIMM_SUPPORT
+ hex
+ default 0x0005
+ endif
+endif
+
source src/northbridge/amd/amdfam10/root_complex/Kconfig
diff --git a/src/northbridge/amd/amdk8/Kconfig b/src/northbridge/amd/amdk8/Kconfig
index 014e1ee03d..02a23ab36e 100644
--- a/src/northbridge/amd/amdk8/Kconfig
+++ b/src/northbridge/amd/amdk8/Kconfig
@@ -53,4 +53,28 @@ config SB_HT_CHAIN_UNITID_OFFSET_ONLY
default n
depends on NORTHBRIDGE_AMD_AMDK8
+config DIMM_DDR2
+ bool
+ default n
+ depends on NORTHBRIDGE_AMD_AMDFAM10
+
+config DIMM_REGISTERED
+ bool
+ default n
+ depends on NORTHBRIDGE_AMD_AMDFAM10
+
+if DIMM_DDR2
+ if DIMM_REGISTERED
+ config DIMM_SUPPORT
+ hex
+ default 0x0104
+ endif
+
+ if !DIMM_REGISTERED
+ config DIMM_SUPPORT
+ hex
+ default 0x0004
+ endif
+endif
+
source src/northbridge/amd/amdk8/root_complex/Kconfig