From 68aed91eb953fa4cab8c802c41c4d6d980d953c1 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 16 Nov 2018 18:00:12 +0100 Subject: intel/i945: Fix booting on a dual channel configuration The register values in dram width programming changed in commit a4fc7bef7ffab0 which broke booting on getac/p470. TEST=getac/p470 with 2 X8DDS DRAM boots again Change-Id: I8b3eedc8c5234e8a28948d4dc58bf565024f62ce Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/29663 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Elyes HAOUAS --- src/northbridge/intel/i945/raminit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/northbridge') diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c index 30e16dbb48..5f06b7df66 100644 --- a/src/northbridge/intel/i945/raminit.c +++ b/src/northbridge/intel/i945/raminit.c @@ -660,13 +660,13 @@ static void sdram_program_dram_width(struct sys_info *sysinfo) c1dramw |= (0x0000) << 4*(i % 2); break; case SYSINFO_DIMM_X8DS: - c1dramw |= (0x0001) << 4*(i % 2); + c1dramw |= (0x0010) << 4*(i % 2); break; case SYSINFO_DIMM_X16SS: c1dramw |= (0x0000) << 4*(i % 2); break; case SYSINFO_DIMM_X8DDS: - c1dramw |= (0x0005) << 4*(i % 2); + c1dramw |= (0x0050) << 4*(i % 2); break; case SYSINFO_DIMM_NOT_POPULATED: c1dramw |= (0x0000) << 4*(i % 2); -- cgit v1.2.3