[PATCH v3] imx: syscounter: allow timer_init for SPL build

sbabic at denx.de sbabic at denx.de
Mon Oct 16 11:22:16 CEST 2023


> From: Michael Scott <mike at foundries.io>
> With enabled SKIP_LOWLEVEL_INIT, the weak function timer_init() is
> used in the SPL build. For iMX6 SoC, this leads MMC to fail once
> u-boot proper is booted due to a timing issue.
> Always use iMX-specific timer_init() in SPL to fix timing issues.
> Fixes: be277c3a89 ("imx: mx7: avoid some initialization if low level is skipped")
> Signed-off-by: Michael Scott <mike at foundries.io>
> Co-developed-by: Oleksandr Suvorov <oleksandr.suvorov at foundries.io>
> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov at foundries.io>
> Reviewed-by: Peng Fan <peng.fan at nxp.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list