From 73270458ec5e9fc818f6da2a6d031360ad0b6dae Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Mon, 11 Jun 2018 21:15:52 +1000 Subject: Use a separate "started" flag Relying on the command-status is dicey, the GPIO arbitration code needs a more reliable way to know we are actually running Signed-off-by: Benjamin Herrenschmidt --- cf-code/cf-fsi-fw.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cf-code') diff --git a/cf-code/cf-fsi-fw.S b/cf-code/cf-fsi-fw.S index 000e476..d0d71a6 100644 --- a/cf-code/cf-fsi-fw.S +++ b/cf-code/cf-fsi-fw.S @@ -264,8 +264,8 @@ _start: /* Configure GPIOs to output */ bsr config_gpio_out - /* Mark command complete, indicates we are ready */ - move.b #STAT_COMPLETE,%a1@(CMD_STAT_REG) + /* Indicate that we are started */ + mov3q.l #0xffffffff,%a1@(CF_STARTED) /* * Main command loop -- cgit v1.2.1