nb/intel/sandybridge: Rewrite constant values
Rewrite some constants to make their meaning somewhat clearer. Tested with BUILD_TIMELESS=1, Asus P8Z77-V LX2 does not change. Change-Id: I321f5e61d7c695ae77e61b84728e34930f69d400 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48615 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
@ -309,7 +309,7 @@ static void init_dram_ddr3(int s3resume, const u32 cpuid)
|
||||
|
||||
wait_txt_clear();
|
||||
|
||||
wrmsr(0x000002e6, (msr_t) { .lo = 0, .hi = 0 });
|
||||
wrmsr(0x2e6, (msr_t) { .lo = 0, .hi = 0 });
|
||||
|
||||
const u32 sskpd = MCHBAR32(SSKPD); // !!! = 0x00000000
|
||||
if ((pci_read_config16(SOUTHBRIDGE, 0xa2) & 0xa0) == 0x20 && sskpd && !s3resume) {
|
||||
|
Reference in New Issue
Block a user