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>
diff --git a/src/northbridge/intel/haswell/gma.c b/src/northbridge/intel/haswell/gma.c
index 373f429..325edbd 100644
--- a/src/northbridge/intel/haswell/gma.c
+++ b/src/northbridge/intel/haswell/gma.c
@@ -246,7 +246,7 @@
/* 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 @@
/* 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);
}