]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp1: ram: add read valid training support
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Mon, 15 Nov 2021 14:32:28 +0000 (15:32 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 30 Nov 2021 15:43:28 +0000 (16:43 +0100)
commit4831ba2903d886d233400423c2a425fde170b367
treefeec12ab6fd2e8c2d7c2997e55223fbef9363503
parent77d043cac66965d48381cfec8f227799202a0a30
stm32mp1: ram: add read valid training support

Add the read data eye training = training for optimal read valid placement
(RVTRN) when the built-in calibration is executed for LPDDR2 and LPDDR3.

This training is supported on the PUBL integrated in the STM32MP15x
DDR subsystem and it is not required for DDR3.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/ram/stm32mp1/stm32mp1_ddr.c
drivers/ram/stm32mp1/stm32mp1_ddr_regs.h