summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2020-08-24 22:10:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-17 14:45:25 +0300
commit10d4f8d200de55d15ef5cf659295de0f2a217728 (patch)
treee6c9a95ef48f2e352b7270e08e3befa47e4ecf2e /include/soc
parentb701016288dc8cfe55d24b1b9e075adbab25ae78 (diff)
downloadlinux-10d4f8d200de55d15ef5cf659295de0f2a217728.tar.xz
irqchip/eznps: Fix build error for !ARC700 builds
[ Upstream commit 89d29997f103d08264b0685796b420d911658b96 ] eznps driver is supposed to be platform independent however it ends up including stuff from inside arch/arc headers leading to rand config build errors. The quick hack to fix this (proper fix is too much chrun for non active user-base) is to add following to nps platform agnostic header. - copy AUX_IENABLE from arch/arc header - move CTOP_AUX_IACK from arch/arc/plat-eznps/*/** Reported-by: kernel test robot <lkp@intel.com> Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Link: https://lkml.kernel.org/r/20200824095831.5lpkmkafelnvlpi2@linutronix.de Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/nps/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/soc/nps/common.h b/include/soc/nps/common.h
index 9b1d43d671a3..8c18dc6d3fde 100644
--- a/include/soc/nps/common.h
+++ b/include/soc/nps/common.h
@@ -45,6 +45,12 @@
#define CTOP_INST_MOV2B_FLIP_R3_B1_B2_INST 0x5B60
#define CTOP_INST_MOV2B_FLIP_R3_B1_B2_LIMM 0x00010422
+#ifndef AUX_IENABLE
+#define AUX_IENABLE 0x40c
+#endif
+
+#define CTOP_AUX_IACK (0xFFFFF800 + 0x088)
+
#ifndef __ASSEMBLY__
/* In order to increase compilation test coverage */