diff options
author | Marek BehĂșn <kabel@kernel.org> | 2024-08-29 10:08:49 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2024-09-03 14:24:32 +0200 |
commit | bc8664c9f31195a0249dd4eb0794f4a8625ad864 (patch) | |
tree | d6fb9b9418accf492f669bbf257487ccffed2fe8 /common/env_attr.c | |
parent | c9da24184bf492d2b2803113e1cb3e255850c42f (diff) | |
download | u-boot-bc8664c9f31195a0249dd4eb0794f4a8625ad864.zip u-boot-bc8664c9f31195a0249dd4eb0794f4a8625ad864.tar.gz u-boot-bc8664c9f31195a0249dd4eb0794f4a8625ad864.tar.bz2 |
arm: mvebu: turris_omnia: Switch DDR speed to 1333H when reset 9 is selected
Users experiencing random kernel crashes due to new versions of
Marvell's DDR training algorithm can solve the issue by setting DDR
speed to 1333H.
But if kernel crashes, it has to be done in U-Boot, which is impossible
without UART connection.
In order to make it easier for users, use the rescue button mechanism:
when rescue mode 9 is selected (that is when 10 LEDs are ON), U-Boot
will train DDR in 1333H mode and also update EEPROM so that subsequent
boot will use this mode.
User has to use the `eeprom` command in U-Boot or `omnia-eeprom` command
in OS to switch back to 1600K mode.
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/env_attr.c')
0 files changed, 0 insertions, 0 deletions