]> git.dujemihanovic.xyz Git - u-boot.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)
commit7246ec19345a07befaabcde1cbf38ad78d0c1c8d
treed6e73a630ea1ad58febcdcfb3363c6bd136cafc1
parent6dac63adca4bfef791426ff9208078ab3e7105eb
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