diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-11 23:00:17 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-06-11 23:00:17 +1000 |
commit | 4267c25394f57fa065ffd3edd07840fc0a40341a (patch) | |
tree | 2fdbf64b725a294bcc222872436262bf6c14cac3 | |
parent | 31061ace9c459674a01446e330fb2514444095cc (diff) | |
download | cf-fsi-4267c25394f57fa065ffd3edd07840fc0a40341a.tar.gz cf-fsi-4267c25394f57fa065ffd3edd07840fc0a40341a.zip |
When GPIO trans is cached, we need to reload after arbitration
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r-- | cf-code/cf-fsi-fw.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cf-code/cf-fsi-fw.S b/cf-code/cf-fsi-fw.S index d0d71a6..9fa5804 100644 --- a/cf-code/cf-fsi-fw.S +++ b/cf-code/cf-fsi-fw.S @@ -300,7 +300,9 @@ arbitration_request: /* Got it, re-load the GPIO caches */ move.l %a5@(0),%DCLK move.l %a4@(0),%DDAT - +#ifndef DTRA_UNCACHED + move.l %a5@(TRANS_GPIO_DREG-CLOCK_GPIO_VREG),%DTRA +#endif /* Reconfigure data as output just in case ... */ bsr config_gpio_out |