]> git.baikalelectronics.ru Git - uboot.git/commit
imx8: scu_api: sync sc_rm_is_pad_owned api change
authorYe Li <ye.li@nxp.com>
Tue, 13 Dec 2022 04:08:02 +0000 (05:08 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 31 Jan 2023 18:44:23 +0000 (19:44 +0100)
commit5e518c60414fc0654a17aaa68479b2e50ae7d5e5
treed6e73a630ea1ad58febcdcfb3363c6bd136cafc1
parentefd41d6749b60797c6d51a9e1b759d2df22d6cf1
imx8: scu_api: sync sc_rm_is_pad_owned api change

SCFW has fixed a overflow issue in sc_rm_is_pad_owned API. This
requires u-boot to update API implementation, since it will cause
compatible issue. Otherwise all pad checking will have problem and
cause pad setting not continue.

Due to the compatible issue, the new u-boot only works with new
SCFW (API version: 1.21 and later).

old scfw + old u-boot: API overflow issue
old scfw + new u-boot, or new scfw + old u-boot: API compatible issue
new scfw + new u-boot: Working

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by : Jason Liu <Jason.hui.liu@nxp.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
arch/arm/include/asm/arch-imx8/sci/rpc.h
drivers/misc/imx8/scu_api.c