aboutsummaryrefslogtreecommitdiff
path: root/env/eeprom.c
diff options
context:
space:
mode:
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>2023-12-28 00:28:43 +0300
committerAndre Przywara <andre.przywara@arm.com>2024-03-05 01:16:56 +0000
commitf1e6a718ebab0682d80601db404e8d842767becf (patch)
tree1f571eb2fe497216da69d4213d77a497c6cc300c /env/eeprom.c
parent978808d2b9f46db5e9782090ed3c168e6d4183e6 (diff)
sunxi: restore modified memory
Current sunxi DRAM initialisation code does several test accesses to the DRAM array to detect aliasing effects and so determine the correct row/column configuration. This changes the DRAM content, which breaks use cases like soft reset and Linux's ramoops mechanism. Fix this problem by saving and restoring the content of the DRAM cells that is used for the test writes. Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'env/eeprom.c')
0 files changed, 0 insertions, 0 deletions