]> git.dujemihanovic.xyz Git - u-boot.git/commit
ddr: imx9: Add workaround for DDRPHY rank-to-rank errata
authorYe Li <ye.li@nxp.com>
Fri, 28 Apr 2023 04:08:39 +0000 (12:08 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 21 May 2023 14:54:41 +0000 (16:54 +0200)
commit662f05fcb6798277c69700c7deadd1c3c6a1b363
tree0874722b9915077f1ce29d318388137759c47cbc
parent4699ffb202615a15376e60f2a7482a322c5bc6ec
ddr: imx9: Add workaround for DDRPHY rank-to-rank errata

According to DDRPHY errata, the Rank-to-Rank Spacing and tphy_rdcsgap
specification does not include the Critical Delay Difference (CDD) to
properly define the required rank-to-rank read command spacing after
executing PHY training firmware.

Following the errata workaround, at the end of data training, we get
all CDD values through the MessageBlock, then re-configure the DDRC
timing of WWT/WRT/RRT/RWT with comparing MAX CDD values.

Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx9/ddr.h
drivers/ddr/imx/imx9/ddr_init.c