summaryrefslogtreecommitdiff
path: root/src/northbridge/intel
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-10-29 12:15:34 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-11-08 08:08:23 +0100
commit986e85c098f6a68c2f26d1b5f81bebaff4207e28 (patch)
treec0181e341131020e956c4e36d47e4e8cd2e1ebed /src/northbridge/intel
parent31cef1f46e5caa63794709c381a68ac1a9394bbb (diff)
intel: Use 'FORCEWAKE_ACK_HSW' define over '0x130044'
Change-Id: I1cf87b3c73d8bf8846e5870b19b089f85c299567 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/7241 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r--src/northbridge/intel/haswell/gma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/haswell/gma.c b/src/northbridge/intel/haswell/gma.c
index 373f429eb1..325edbd05b 100644
--- a/src/northbridge/intel/haswell/gma.c
+++ b/src/northbridge/intel/haswell/gma.c
@@ -246,7 +246,7 @@ static void gma_pm_init_pre_vbios(struct device *dev)
/* Enable Force Wake */
gtt_write(0x0a180, 1 << 5);
gtt_write(0x0a188, 0x00010001);
- gtt_poll(0x130044, 1 << 0, 1 << 0);
+ gtt_poll(FORCEWAKE_ACK_HSW, 1 << 0, 1 << 0);
/* GT Settings */
gtt_write_regs(haswell_gt_setup);
@@ -420,7 +420,7 @@ static void gma_pm_init_post_vbios(struct device *dev)
/* Disable Force Wake */
gtt_write(0x0a188, 0x00010000);
- gtt_poll(0x130044, 1 << 0, 0 << 0);
+ gtt_poll(FORCEWAKE_ACK_HSW, 1 << 0, 0 << 0);
gtt_write(0x0a188, 0x00000001);
}