]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: turris_omnia: Read DDR speed from EEPROM
authorMarek Behún <kabel@kernel.org>
Tue, 18 Jun 2024 15:34:34 +0000 (17:34 +0200)
committerStefan Roese <sr@denx.de>
Mon, 8 Jul 2024 06:20:58 +0000 (08:20 +0200)
commit137057ac16b882725f60d12fc2440fdc8530cb3a
tree7c3034d8176efe6f7d724a5e4613849a6a03f1a9
parentb5a6120227f05ef2c7858b67a3d76a226d9ec32f
arm: mvebu: turris_omnia: Read DDR speed from EEPROM

Some Turris Omnia boards experience memory issues, and by
experimentation we found that some of these issues can be solved by
slowing DDR speed.

Add a new field in the extended EEPROM information structure, ddr_speed.
Support several values in this field (for now 1066F, 1333H, and the
default, 1600K) and use it to overwrite the DDR topology parameters
used by the DDR training algorithm.

Signed-off-by: Marek Behún <kabel@kernel.org>
board/CZ.NIC/turris_omnia/eeprom.c
board/CZ.NIC/turris_omnia/turris_omnia.c