diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-03 22:39:46 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-03 23:05:00 +1000 |
commit | b30e78bd005b6f08e15ea75517eb2e2b293c7b4a (patch) | |
tree | 1f29db7cc4b7472163ce407066b0d50992047461 /cf-fsi-test.c | |
parent | 5d8d096fc0db68e7f62e9ae0e24f65694e09ed41 (diff) | |
download | cf-fsi-b30e78bd005b6f08e15ea75517eb2e2b293c7b4a.tar.gz cf-fsi-b30e78bd005b6f08e15ea75517eb2e2b293c7b4a.zip |
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 <benh@kernel.crashing.org>
Diffstat (limited to 'cf-fsi-test.c')
-rw-r--r-- | cf-fsi-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |