ddr: imx: Handle both 3733 and 3732 MTps rates
authorMarek Vasut <marex@denx.de>
Mon, 23 Jan 2023 16:53:19 +0000 (17:53 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 30 Jan 2023 20:02:27 +0000 (21:02 +0100)
commit6e0ca0658ee318e143ceae143f19550745ad5c5a
treec3b22f73008ba0a0d89710da7b24daefc9ab9cac
parent352c4023979e834ca98bba69121d3b14e97bc5d7
ddr: imx: Handle both 3733 and 3732 MTps rates

The DDR calibration tool for i.MX8M currently produces 3732 MTps rate in
lpddr4_timing.c , while the PHY code expects 3733 MTps rate. Support both
variants to avoid surprises where the system fails to boot.

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/ddr/imx/phy/ddrphy_utils.c