HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/50661 )
Change subject: nb/intel/i945/raminit: Convert to 96 characters line length ......................................................................
nb/intel/i945/raminit: Convert to 96 characters line length
Change-Id: Iead743875a2ab4c0fa9933ab9894de59d2f6dd5e Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/northbridge/intel/i945/raminit.c 1 file changed, 2 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/61/50661/1
diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c index 9067895..31b22d2 100644 --- a/src/northbridge/intel/i945/raminit.c +++ b/src/northbridge/intel/i945/raminit.c @@ -327,8 +327,7 @@ if (!sdram_capabilities_dual_channel() && (i >> 1)) continue;
- if (smbus_read_byte(device, SPD_MEMORY_TYPE) != - SPD_MEMORY_TYPE_SDRAM_DDR2) { + if (smbus_read_byte(device, SPD_MEMORY_TYPE) != SPD_MEMORY_TYPE_SDRAM_DDR2) { printk(BIOS_DEBUG, "DDR II Channel %d Socket %d: N/A\n", (i >> 1), (i & 1)); continue; @@ -423,8 +422,7 @@ sysinfo->banksize[i * 2] = dimm_info.ranksize_mb / 32; printk(BIOS_DEBUG, "DIMM %d side 0 = %d MB\n", i, sysinfo->banksize[i * 2] * 32); if (dimm_info.ranks == 2) { - sysinfo->banksize[(i * 2) + 1] = - dimm_info.ranksize_mb / 32; + sysinfo->banksize[(i * 2) + 1] = dimm_info.ranksize_mb / 32; printk(BIOS_DEBUG, "DIMM %d side 1 = %d MB\n", i, sysinfo->banksize[(i * 2) + 1] * 32); }