aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2021-08-07 16:00:51 +0800
committerStefano Babic <sbabic@denx.de>2021-08-09 14:46:51 +0200
commita6ffde5ea5f65e0b68cdf960d998a381e8a358fd (patch)
treec45efe7518307d2559c0670d13494817d0ac91b4
parentaadd6ca158c9dbc21521d6ae870ff716f4b66b87 (diff)
downloadu-boot-a6ffde5ea5f65e0b68cdf960d998a381e8a358fd.zip
u-boot-a6ffde5ea5f65e0b68cdf960d998a381e8a358fd.tar.gz
u-boot-a6ffde5ea5f65e0b68cdf960d998a381e8a358fd.tar.bz2
drivers: misc: s400_api: Update S400_SUCCESS_IND to 0xd6
According to latest S400 API doc, the the success indicate value is changed to 0xd6. So update the driver codes. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
-rw-r--r--drivers/misc/imx8ulp/imx8ulp_mu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/imx8ulp/imx8ulp_mu.c b/drivers/misc/imx8ulp/imx8ulp_mu.c
index 3f6dd55..f3ca547 100644
--- a/drivers/misc/imx8ulp/imx8ulp_mu.c
+++ b/drivers/misc/imx8ulp/imx8ulp_mu.c
@@ -185,7 +185,7 @@ static int imx8ulp_mu_call(struct udevice *dev, int no_resp, void *tx_msg,
}
result = ((struct imx8ulp_s400_msg *)rx_msg)->data[0];
- if ((result & 0xff) == 0)
+ if ((result & 0xff) == 0xd6)
return 0;
return -EIO;