nb/intel/i945: Fix sdram_enhanced_addressing_mode for channel1
Change-Id: I304467353bb9989f0d7e0ad7d1b632081f66b1af Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/18482 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
c16d389363
commit
308aefffc6
|
@ -2385,8 +2385,8 @@ static void sdram_enhanced_addressing_mode(struct sys_info *sysinfo)
|
|||
|
||||
chan0_populated = (sysinfo->dimm[0] != SYSINFO_DIMM_NOT_POPULATED ||
|
||||
sysinfo->dimm[1] != SYSINFO_DIMM_NOT_POPULATED);
|
||||
chan1_populated = (sysinfo->dimm[0] != SYSINFO_DIMM_NOT_POPULATED ||
|
||||
sysinfo->dimm[1] != SYSINFO_DIMM_NOT_POPULATED);
|
||||
chan1_populated = (sysinfo->dimm[2] != SYSINFO_DIMM_NOT_POPULATED ||
|
||||
sysinfo->dimm[3] != SYSINFO_DIMM_NOT_POPULATED);
|
||||
chan0_dualsided = (sysinfo->banksize[1] || sysinfo->banksize[3]);
|
||||
chan1_dualsided = (sysinfo->banksize[5] || sysinfo->banksize[7]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue