summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/intel/nehalem/raminit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/northbridge/intel/nehalem/raminit.c b/src/northbridge/intel/nehalem/raminit.c
index fb82484444..9ca98d5a2c 100644
--- a/src/northbridge/intel/nehalem/raminit.c
+++ b/src/northbridge/intel/nehalem/raminit.c
@@ -4571,7 +4571,9 @@ void raminit(const int s3resume, const u8 *spd_addrmap)
write_mchbar32(0x140, read_mchbar32(0x140) & ~0x07000000);
write_mchbar32(0x138, read_mchbar32(0x138) & ~0x07000000);
write_mchbar32(0x130, 0x31111301);
- while (read_mchbar32(0x130) & 1) ;
+ /* Wait until REG130b0 is 1. */
+ while (read_mchbar32(0x130) & 1)
+ ;
{
u32 t;