summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy/ddrphy_utils.c
diff options
context:
space:
mode:
authorRonald Wahl <ronald.wahl@legrand.com>2024-12-11 21:52:00 +0100
committerJaehoon Chung <jh80.chung@samsung.com>2024-12-16 11:24:42 +0900
commit822afeb7bf84ca1c9289a61ea99604b4deb8e091 (patch)
tree573717712058173731c716d7cb5541170731a6b8 /drivers/ddr/imx/phy/ddrphy_utils.c
parent50334151c02077f16613b0a082d95640800ba60e (diff)
mmc: Fix potential timer value truncation
On 64bit systems the timer value might be truncated to a 32bit value causing malfunctions. For example on ARM the timer might start from 0 again only after a cold reset. The 32bit overflow occurs after a bit more than 49 days (1000 Hz counter) so booting after that time may lead to a surprise because the board might become stuck requiring a cold reset. Signed-off-by: Ronald Wahl <ronald.wahl@legrand.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/ddr/imx/phy/ddrphy_utils.c')
0 files changed, 0 insertions, 0 deletions