Skip to content
Commit f1e6a718 authored by Andrey Skvortsov's avatar Andrey Skvortsov Committed by Andre Przywara
Browse files

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: default avatarAndrey Skvortsov <andrej.skvortzov@gmail.com>
Reviewed-by: default avatarAndre Przywara <andre.przywara@arm.com>
parent 978808d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment