iMX ddrphy_utils difference with U-boot

Andrei Lalaev andrey.lalaev at gmail.com
Mon Jun 8 07:24:07 PDT 2026


Hi,

I am moving an iMX8MP module from vendor U-Boot 2024.04 to Barebox 2025.02
and found a strange difference in the DDR training code:

  vim drivers/ddr/imx/ddrphy_utils.c +94

And the corresponding line in U-Boot:

  vim drivers/ddr/imx/phy/ddrphy_utils.c +101

Is there any chance that somebody knows/remembers why "return -1" was replaced with "hang()"?

I couldn't find any explanation in the commits/mailing lists.

Thanks a lot!

--
Best regards,
Andrei Lalaev




More information about the barebox mailing list