u-boot/arch/arm/mach-sunxi
Andrey Skvortsov f1e6a718eb 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>
2024-03-05 01:16:56 +00:00
..
dram_timings sunxi: H616: add LPDDR4 DRAM support 2023-11-12 18:04:32 +00:00
board.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
clock_sun4i.c sunxi: sun4i: add missing sdelay() to clock_init_safe() 2024-03-03 23:43:43 +00:00
clock_sun6i.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
clock_sun8i_a83t.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
clock_sun9i.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
clock_sun50i_h6.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
clock.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
cpu_info.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
dram_helpers.c sunxi: restore modified memory 2024-03-05 01:16:56 +00:00
dram_sun4i.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
dram_sun6i.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
dram_sun8i_a23.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
dram_sun8i_a33.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
dram_sun8i_a83t.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
dram_sun9i.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
dram_sun50i_h6.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
dram_sun50i_h616.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
dram_suniv.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
dram_sunxi_dw.c sunxi: reorganize mctl_mem_matches_* functions 2024-03-05 01:16:44 +00:00
gtbus_sun9i.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
Kconfig sunxi: binman: Move BL31 and SCP firmware addresses to Kconfig 2024-01-29 14:30:59 +00:00
Makefile sunxi: introduce NCAT2 generation model 2023-10-22 23:41:46 +01:00
pmic_bus.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
prcm.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
rmr_switch.S sunxi: Introduce common symbol for H6 like SoCs 2021-01-25 21:52:00 +00:00
spl_spi_sunxi.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00
timer.c sunxi: remove common.h inclusion 2024-01-29 01:18:52 +00:00