From 4267c25394f57fa065ffd3edd07840fc0a40341a Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Mon, 11 Jun 2018 23:00:17 +1000 Subject: When GPIO trans is cached, we need to reload after arbitration Signed-off-by: Benjamin Herrenschmidt --- cf-code/cf-fsi-fw.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cf-code/cf-fsi-fw.S') 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 -- cgit v1.2.1