]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: sl28: set CPO value
authorMichael Walle <michael@walle.cc>
Mon, 30 May 2022 21:02:07 +0000 (23:02 +0200)
committerPeng Fan <peng.fan@nxp.com>
Mon, 20 Jun 2022 07:52:45 +0000 (15:52 +0800)
commit6bdda4b2003fadbcbcc28a1d395ec1f6f6557539
tree4fd174441b93ae79f561109b68f714bfa7d6227d
parent2a9cf320afb051f40a4bbb98aa9a6b1a94332d27
board: sl28: set CPO value

With a 8GiB memory board, it seems that the "very unlikely event" of a
DDR initialization with non-optimal values are not really that unlikely.
It happens in about every other reboot. As described in erratum
A-009942, preset the DEBUG_28 register with an optimal value. The value
iself depends on the memory configuration of the board, but the used
value seems to work well for all variants.

Signed-off-by: Michael Walle <michael@walle.cc>
board/kontron/sl28/ddr.c