From b30e78bd005b6f08e15ea75517eb2e2b293c7b4a Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Sun, 3 Jun 2018 22:39:46 +1000 Subject: Add arbitration mechanism This will be used by the kernel GPIO driver to synchronize with the CF when accessing GPIO shared with FSI. Signed-off-by: Benjamin Herrenschmidt --- cf-fsi-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cf-fsi-test.c') diff --git a/cf-fsi-test.c b/cf-fsi-test.c index 65c240c..56e8a8f 100644 --- a/cf-fsi-test.c +++ b/cf-fsi-test.c @@ -104,7 +104,7 @@ static inline void writeq(uint64_t val, void *addr) #define GPIO_AA_SRC_BIT 0x00010000 #define GPIO_R_SRC_BIT 0x00000100 -#define CVIC_BASE 0x000c2000 +#define CVIC_BASE 0x000c2000 /* 1e602000 */ #define CVIC_EN_REG 0x10 #define CVIC_TRIG_REG 0x18 -- cgit v1.2.1