aboutsummaryrefslogtreecommitdiff
path: root/include/npu2-regs.h
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2018-12-17 18:28:08 +1100
committerStewart Smith <stewart@linux.ibm.com>2019-01-18 16:36:54 +1100
commit59a21fc87f54075365e63a3a6950576a4c7746f3 (patch)
treee9e0364b583f97dfe2683a19e36e349f47a6d69c /include/npu2-regs.h
parent44aa41061a9ffc289ff6b7d7b47132c4f15896bd (diff)
downloadskiboot-59a21fc87f54075365e63a3a6950576a4c7746f3.zip
skiboot-59a21fc87f54075365e63a3a6950576a4c7746f3.tar.gz
skiboot-59a21fc87f54075365e63a3a6950576a4c7746f3.tar.bz2
sparse: Make tree 'constant is so big' warning clean
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/npu2-regs.h')
-rw-r--r--include/npu2-regs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/npu2-regs.h b/include/npu2-regs.h
index 8273b2b..7171e9e 100644
--- a/include/npu2-regs.h
+++ b/include/npu2-regs.h
@@ -758,7 +758,7 @@ void npu2_scom_write(uint64_t gcid, uint64_t scom_base,
/* Registers and bits used to clear the L2 and L3 cache */
#define L2_PRD_PURGE_CMD_REG 0x1080E
-#define L2_PRD_PURGE_CMD_REG_BUSY 0x0040000000000000
+#define L2_PRD_PURGE_CMD_REG_BUSY 0x0040000000000000UL
#define L2_PRD_PURGE_CMD_TYPE_MASK PPC_BIT(1) | PPC_BIT(2) | PPC_BIT(3) | PPC_BIT(4)
#define L2_PRD_PURGE_CMD_TRIGGER PPC_BIT(0)
#define L2CAC_FLUSH 0x0