]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx8: Correct the SCU API return value check
authorPeng Fan <peng.fan@nxp.com>
Wed, 9 Oct 2024 08:29:36 +0000 (16:29 +0800)
committerFabio Estevam <festevam@denx.de>
Sun, 13 Oct 2024 12:45:16 +0000 (09:45 -0300)
commit03b415d753797140e834a54c55074369cb472f0d
treebdd4de494de9cb0c3ec604a6fc8a677e3111d757
parentcd31c728729b6f08b48fb6a2cef758f135950f73
imx8: Correct the SCU API return value check

The SCU API alreay has been converted to return Linux error code,
using SCU error code is not correct here, although SC_ERR_NONE is value
as 0.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8/ahab.c
arch/arm/mach-imx/imx8/cpu.c