summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/gma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/broadwell/gma.c')
-rw-r--r--src/soc/intel/broadwell/gma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/broadwell/gma.c b/src/soc/intel/broadwell/gma.c
index 59379b576b..1e25502e3b 100644
--- a/src/soc/intel/broadwell/gma.c
+++ b/src/soc/intel/broadwell/gma.c
@@ -529,7 +529,7 @@ static void igd_init(struct device *dev)
}
/* Set RP1 graphics frequency */
- rp1_gfx_freq = (MCHBAR32(0x5998) >> 8) & 0xff;
+ rp1_gfx_freq = (mchbar_read32(0x5998) >> 8) & 0xff;
gtt_write(0xa008, rp1_gfx_freq << 24);
/* Post VBIOS panel setup */