diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-12-07 13:05:44 +0100 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-12-07 14:01:43 +0100 |
commit | 25fc532838f55938b59ad4337990c487ac663cc7 (patch) | |
tree | 2c298c54a8fbb30a847be2ce72179311c4f41041 /src | |
parent | 8e688b3d742ff02eeac1e109e0400264cb20175f (diff) | |
download | coreboot-25fc532838f55938b59ad4337990c487ac663cc7.tar.xz |
nehalem/raminit: Add decorations to specify that empty loop is intended so.
Change-Id: I6a05683daa6105e26017d1abf45881a9ef93ea30
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/7683
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src')
-rw-r--r-- | src/northbridge/intel/nehalem/raminit.c | 4 |
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; |