aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2016-05-02 15:26:20 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-05-10 16:04:51 +1000
commit3ff350343a67cd1897f37684613468a5f849ac1b (patch)
treee3155d50f049b8905b8a2386404a6fe6a5e8411c /include
parent4e62374cd3a124b792e3e1befbeaadc0985e4df3 (diff)
downloadskiboot-3ff350343a67cd1897f37684613468a5f849ac1b.zip
skiboot-3ff350343a67cd1897f37684613468a5f849ac1b.tar.gz
skiboot-3ff350343a67cd1897f37684613468a5f849ac1b.tar.bz2
Abstract HILE and attn enable bit definitions for HID0
Abstract HILE and attn enable bits definitions for HID0 in case these locations randomly change in future chip revisions. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/processor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/processor.h b/include/processor.h
index 7fa5377..e05c4bb 100644
--- a/include/processor.h
+++ b/include/processor.h
@@ -161,8 +161,8 @@
/* Bits in HID0 */
#define SPR_HID0_POWER8_4LPARMODE PPC_BIT(2)
#define SPR_HID0_POWER8_2LPARMODE PPC_BIT(6)
-#define SPR_HID0_HILE PPC_BIT(19)
-#define SPR_HID0_ENABLE_ATTN PPC_BIT(31)
+#define SPR_HID0_POWER8_HILE PPC_BIT(19)
+#define SPR_HID0_POWER8_ENABLE_ATTN PPC_BIT(31)
/* PVR bits */
#define SPR_PVR_TYPE 0xffff0000