imx8ulp: Workaround LPOSC_TRIM fuse load issue
authorYe Li <ye.li@nxp.com>
Fri, 29 Oct 2021 01:46:25 +0000 (09:46 +0800)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 12:38:39 +0000 (13:38 +0100)
commit9c7fbebe5dd5d9daa9160b778432daef2a13f47f
treeedd9562a582ebb6ea3a1cd4491e4887edd208114
parent112b4cac9d9bd986a5c0e267193dff3e46bab68a
imx8ulp: Workaround LPOSC_TRIM fuse load issue

8ULP ROM should read the LPOSC trim BIAS fuse to fill the CGC0
LPOSCCTRL[7:0], but it writes a fixed value on A0.1 revision.

A0.2 will fix the issue in ROM. But A0.1 we have to workaround
it in SPL by setting LPOSCCTRL BIASCURRENT again.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx8ulp/sys_proto.h
arch/arm/mach-imx/imx8ulp/soc.c
board/freescale/imx8ulp_evk/spl.c