]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: turris_omnia: Support old DDR3 training
authorMarek Behún <kabel@kernel.org>
Tue, 18 Jun 2024 15:34:39 +0000 (17:34 +0200)
committerStefan Roese <sr@denx.de>
Mon, 8 Jul 2024 06:20:58 +0000 (08:20 +0200)
commitaec83261b98eec3a2ca2e9a5a2debea31fcd9d65
treebee21650840e4d39a19ec362597d104e5932d479
parentaff4ea11d18d71fd5c87b5503e99284cc2927502
arm: mvebu: turris_omnia: Support old DDR3 training

Support old DDR3 training code on Turris Omnia, selectable via EEPROM
field.

Users experiencing DDR3 initialization failures or random crashes of the
operating system due to incorrect DDR3 configuration can select the old
DDR3 training implementation to fix those issues by setting the EEPROM
field "Use old DDR training":
  eeprom update "Use old DDR training" 1

Signed-off-by: Marek Behún <kabel@kernel.org>
arch/arm/mach-mvebu/Kconfig
board/CZ.NIC/turris_omnia/Makefile
board/CZ.NIC/turris_omnia/eeprom.c
board/CZ.NIC/turris_omnia/old_ddr3_training.c [new file with mode: 0644]
board/CZ.NIC/turris_omnia/turris_omnia.c