mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 15:08:59 +00:00
dram_ecc_scrubbing() had code to skip unused DRAM banks but it would not work because mvebu_sdram_bs() returns 0 and the code was subtracting 1 before checking the size. Remove the -1 from the bank size and the +1 from the total which will skip unused banks and still calculate the correct size. Put the -1 where it is needed for scrubbing via the xor engine. Reported-by: Joshua Scott <joshua.scott@alliedtelesis.co.nz> Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de> |
||
---|---|---|
.. | ||
armada8k | ||
armada3700 | ||
include/mach | ||
serdes | ||
arm64-common.c | ||
cpu.c | ||
dram.c | ||
efuse.c | ||
gpio.c | ||
Kconfig | ||
lowlevel_spl.S | ||
Makefile | ||
mbus.c | ||
sata.c | ||
spl.c | ||
timer.c |