intel/i945: Fix booting on a dual channel configuration
The register values in dram width programming changed in
commit a4fc7bef7f which broke booting on getac/p470.
TEST=getac/p470 with 2 X8DDS DRAM boots again
Change-Id: I8b3eedc8c5234e8a28948d4dc58bf565024f62ce
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/29663
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Elyes HAOUAS <ehaouas@noos.fr>
			
			
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user