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)
This commit is contained in:
Vladimir Serbinenko 2014-12-07 13:05:44 +01:00
parent 8e688b3d74
commit 25fc532838
1 changed files with 3 additions and 1 deletions

View File

@ -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;