summaryrefslogtreecommitdiffstats
path: root/hw/npu2.c
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2018-07-18 10:43:59 +1000
committerStewart Smith <stewart@linux.ibm.com>2018-07-17 22:49:27 -0500
commitb8702e2c69638f9cab818e76232af3481935e250 (patch)
tree73bad0cc0f7411c99a2a1e0434ccf3ede37f89e8 /hw/npu2.c
parentf651e8eb56e2c17aeac58fd50c20f874d874169c (diff)
downloadtalos-skiboot-b8702e2c69638f9cab818e76232af3481935e250.tar.gz
talos-skiboot-b8702e2c69638f9cab818e76232af3481935e250.zip
Move pb_cen_hp_mode_curr register definition to xscom-p9-reg.h
Currently it is defined in npu2-regs.h but needs to be used by other files as well so move it somewhere generic. Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw/npu2.c')
-rw-r--r--hw/npu2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/npu2.c b/hw/npu2.c
index ef2d4a98..acd56c14 100644
--- a/hw/npu2.c
+++ b/hw/npu2.c
@@ -37,6 +37,7 @@
#include <phys-map.h>
#include <nvram.h>
#include <xive.h>
+#include <xscom-p9-regs.h>
#define NPU2_IRQ_BASE_SHIFT 13
#define NPU2_N_DL_IRQS 23
OpenPOWER on IntegriCloud