aboutsummaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2023-01-31 16:42:13 +0800
committerStefano Babic <sbabic@denx.de>2023-03-29 20:15:41 +0200
commitf3272355cdb938ecff1664924c332b0a60541603 (patch)
treebf4738e9e43cf280e0965948e42d31f6a600c43f /board/freescale
parent9d89dcfcb1e4daaac095d350f2e7a56fce87a4ab (diff)
downloadu-boot-f3272355cdb938ecff1664924c332b0a60541603.zip
u-boot-f3272355cdb938ecff1664924c332b0a60541603.tar.gz
u-boot-f3272355cdb938ecff1664924c332b0a60541603.tar.bz2
imx: imx8ulp: Get chip revision from Sentinel
In both SPL and u-boot, after probing the S400 MU, get the chip revision, lifecycle and UID from Sentinel. Update get_cpu_rev to use the chip revision not hard coded it for A0 Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/imx8ulp_evk/spl.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/board/freescale/imx8ulp_evk/spl.c b/board/freescale/imx8ulp_evk/spl.c
index e672f6e..2a96bd0 100644
--- a/board/freescale/imx8ulp_evk/spl.c
+++ b/board/freescale/imx8ulp_evk/spl.c
@@ -77,16 +77,12 @@ void display_ele_fw_version(void)
void spl_board_init(void)
{
- struct udevice *dev;
u32 res;
int ret;
- uclass_find_first_device(UCLASS_MISC, &dev);
-
- for (; dev; uclass_find_next_device(&dev)) {
- if (device_probe(dev))
- continue;
- }
+ ret = imx8ulp_dm_post_init();
+ if (ret)
+ return;
board_early_init_f();