the following patch was just integrated into master:
commit daf76808059c977929507ad6d4d31295cd1ed6b1
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Dec 7 13:58:15 2014 +0100
via/vx900: Plumber registered DIMM to right place.
Currently due to enum mistake DDR3 = 0xb was confused with DIMM type and
interpreted as LRDIMM, considered unregistered and so every RAM was
unregistered.
Registered RAM is rarely used, so I suppose the code was never tested with them.
For unregistered RAM exactly the same codepath is followed.
Change-Id: I02fe8b1fd7be3bd382399ffa0eb513965a2a6d77
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
Reviewed-on: http://review.coreboot.org/7687
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/7687 for details.
-gerrit
the following patch was just integrated into master:
commit 0e675f72da2a00607da59cff9adee538fdecdc98
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Dec 7 13:56:48 2014 +0100
ddr3: Plumber DIMM type to parsed structure.
Useful for distinguishing registered modules.
Change-Id: Ibf4a0f2cde6d50a1c5c1da0f50e3022a2bc7ccd7
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
Reviewed-on: http://review.coreboot.org/7686
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/7686 for details.
-gerrit
the following patch was just integrated into master:
commit 76c256134fb263c31ed40a839a3e7ec6368d3533
Author: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
Date: Sat Dec 6 23:56:49 2014 -0600
hp/pavilion_m6_1035dx: select NO_UART_ON_SUPERIO in Kconfig
Change-Id: I324cdaf2025898b74bfc0d40c5ed8b88d2be5ad4
Signed-off-by: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
Reviewed-on: http://review.coreboot.org/7679
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
See http://review.coreboot.org/7679 for details.
-gerrit
the following patch was just integrated into master:
commit 5235cd085ae00d89c48545a13e7ac55f304632f9
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Dec 7 13:43:44 2014 +0100
x200/devicetree: Remove extraneous eventc.
Change-Id: If72daed326216e24da85a6a9d342f36f4e1d9de5
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
Reviewed-on: http://review.coreboot.org/7685
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/7685 for details.
-gerrit
the following patch was just integrated into master:
commit 1a3ee668c79ae117738aa44c690471778a014fd8
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Dec 7 13:10:01 2014 +0100
x200/romstage: Add missing include.
Change-Id: I47aa8619ba1e1939707ec654ffb54cae316929cf
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
Reviewed-on: http://review.coreboot.org/7684
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/7684 for details.
-gerrit
the following patch was just integrated into master:
commit 25fc532838f55938b59ad4337990c487ac663cc7
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Dec 7 13:05:44 2014 +0100
nehalem/raminit: Add decorations to specify that empty loop is intended so.
Change-Id: I6a05683daa6105e26017d1abf45881a9ef93ea30
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
Reviewed-on: http://review.coreboot.org/7683
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/7683 for details.
-gerrit
the following patch was just integrated into master:
commit 8e688b3d742ff02eeac1e109e0400264cb20175f
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Dec 7 12:53:07 2014 +0100
vx800: Silence clang warnings.
I have no such board to check the real fixes but this board shouldn't block
benefits for the rest of the tree.
Change-Id: I9e9d4af1b360bcf0099ac2901b08f7fcd7569097
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
Reviewed-on: http://review.coreboot.org/7681
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
See http://review.coreboot.org/7681 for details.
-gerrit
Vladimir Serbinenko (phcoder(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7687
-gerrit
commit 85d4744888018617546ca30382b16caa19dbe06a
Author: Vladimir Serbinenko <phcoder(a)gmail.com>
Date: Sun Dec 7 13:58:15 2014 +0100
via/vx900: Plumber registered DIMM to right place.
Currently due to enum mistake DDR3 = 0xb was confused with DIMM type and
interpreted as LRDIMM, considered unregistered and so every RAM was
unregistered.
Registered RAM is rarely used, so I suppose the code was never tested with them.
For unregistered RAM exactly the same codepath is followed.
Change-Id: I02fe8b1fd7be3bd382399ffa0eb513965a2a6d77
Signed-off-by: Vladimir Serbinenko <phcoder(a)gmail.com>
---
src/northbridge/via/vx900/raminit.h | 1 +
src/northbridge/via/vx900/raminit_ddr3.c | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/northbridge/via/vx900/raminit.h b/src/northbridge/via/vx900/raminit.h
index c599c0f..0fd626f 100644
--- a/src/northbridge/via/vx900/raminit.h
+++ b/src/northbridge/via/vx900/raminit.h
@@ -71,6 +71,7 @@ typedef struct vx900_delay_calib_st {
typedef struct ramctr_timing_st {
enum spd_memory_type dram_type;
+ enum spd_dimm_type dimm_type;
u16 cas_supported;
/* tLatencies are in units of ns, scaled by x256 */
u32 tCK;
diff --git a/src/northbridge/via/vx900/raminit_ddr3.c b/src/northbridge/via/vx900/raminit_ddr3.c
index 3979466..e6dace3 100644
--- a/src/northbridge/via/vx900/raminit_ddr3.c
+++ b/src/northbridge/via/vx900/raminit_ddr3.c
@@ -369,9 +369,11 @@ static void dram_find_common_params(const dimm_info * dimms,
if (valid_dimms == 1) {
/* First DIMM defines the type of DIMM */
ctrl->dram_type = dimm->dram_type;
+ ctrl->dimm_type = dimm->dimm_type;
} else {
/* Check if we have mismatched DIMMs */
- if (ctrl->dram_type != dimm->dram_type)
+ if (ctrl->dram_type != dimm->dram_type
+ || ctrl->dimm_type != dimm->dimm_type)
die("Mismatched DIMM Types");
}
/* Find all possible CAS combinations */
@@ -705,7 +707,7 @@ static void vx900_dram_freq(ramctr_timing * ctrl)
pci_mod_config8(MCU, 0x6b, 0x80, 0x00);
/* Step 8 - If we have registered DIMMs, we need to set bit[0] */
- if (dimm_is_registered(ctrl->dram_type)) {
+ if (dimm_is_registered(ctrl->dimm_type)) {
printram("Enabling RDIMM support in memory controller\n");
pci_mod_config8(MCU, 0x6c, 0x00, 0x01);
}