aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-08-21 17:16:06 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-08-22 11:59:17 +1000
commita5c124072f671f3dfda1405de77dd4ad373c3dd9 (patch)
treef410377d403fbeb22ba7d37a45fcf9e06e55442e /include
parent916bc2d8da8fee71653c325cc752f0ce901a58a2 (diff)
downloadskiboot-a5c124072f671f3dfda1405de77dd4ad373c3dd9.zip
skiboot-a5c124072f671f3dfda1405de77dd4ad373c3dd9.tar.gz
skiboot-a5c124072f671f3dfda1405de77dd4ad373c3dd9.tar.bz2
vas: Set FIRs according to workbook
This sets the FIR, FIR mask and FIR action registers according to VAS workbook v1.20. It also renames them to make it clear what they are. Without this any VAS error will checkstop the machine, rather than potentially be recoverable. 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/vas.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/vas.h b/include/vas.h
index bc0aff7..6bc2a1c 100644
--- a/include/vas.h
+++ b/include/vas.h
@@ -93,13 +93,9 @@ extern __attrconst uint64_t vas_get_wcbs_bar(int chipid);
#define VAS_P9_SAT(sat, offset) XSCOM_SAT(0x0, sat, offset)
#define VAS_FIR0 VAS_P9_SAT(0x0, 0x0)
-#define VAS_FIR1 VAS_P9_SAT(0x0, 0x1)
-#define VAS_FIR2 VAS_P9_SAT(0x0, 0x2)
-#define VAS_FIR3 VAS_P9_SAT(0x0, 0x3)
-#define VAS_FIR4 VAS_P9_SAT(0x0, 0x4)
-#define VAS_FIR5 VAS_P9_SAT(0x0, 0x5)
-#define VAS_FIR6 VAS_P9_SAT(0x0, 0x6)
-#define VAS_FIR7 VAS_P9_SAT(0x0, 0x7)
+#define VAS_FIR_MASK VAS_P9_SAT(0x0, 0x3)
+#define VAS_FIR_ACTION0 VAS_P9_SAT(0x0, 0x6)
+#define VAS_FIR_ACTION1 VAS_P9_SAT(0x0, 0x7)
#define VAS_WCM_BAR VAS_P9_SAT(0x0, 0xA)
#define VAS_UWCM_BAR VAS_P9_SAT(0x0, 0xB)