diff options
-rw-r--r-- | src/northbridge/intel/sandybridge/raminit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/sandybridge/raminit.c b/src/northbridge/intel/sandybridge/raminit.c index 5044512ead..7beaa9bc95 100644 --- a/src/northbridge/intel/sandybridge/raminit.c +++ b/src/northbridge/intel/sandybridge/raminit.c @@ -31,11 +31,11 @@ static void wait_txt_clear(void) return; /* Some TXT public bit */ - if (!(read32((void *)0xfed30010) & 1)) + if (!(read32p(0xfed30010) & 1)) return; /* Wait for TXT clear */ - while (!(read8((void *)0xfed40000) & (1 << 7))) + while (!(read8p(0xfed40000) & (1 << 7))) ; } |