u-boot/arch/arm/mach-mvebu
Chris Packham c3ab274444 ARM: mvebu: handle unused DRAM banks with ECC enabled
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>
2017-09-26 06:52:57 +02:00
..
armada8k arm64: mvebu: a8k: Add support for NAND clock get 2017-05-09 13:38:18 +02:00
armada3700 arm64: mvebu: Add basic support for the Marvell Armada 7K/8K SoC 2016-09-27 17:29:54 +02:00
include/mach ARM: mvebu: Add SoC IDs for Marvell's integrated CPUs 2017-09-26 06:51:43 +02:00
serdes arm: mvebu: avoid possible NULL dereference 2017-08-13 15:17:28 -04:00
arm64-common.c arm64: mvebu: Replace board specific with generic memory bank decoding 2017-05-31 07:42:17 +02:00
cpu.c ARM: mvebu: add SAR frequency values for 1.8/2.0GHz 2017-09-26 06:51:54 +02:00
dram.c ARM: mvebu: handle unused DRAM banks with ECC enabled 2017-09-26 06:52:57 +02:00
efuse.c arm: mvebu: Implement secure boot 2017-02-01 09:04:18 +01:00
gpio.c arm: mvebu: Move mvebu-common into mach-mvebu 2015-05-05 14:28:29 +02:00
Kconfig env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
lowlevel_spl.S arm: mvebu: Add runtime detection of UART (xmodem) boot-mode 2016-01-14 14:08:59 +01:00
Makefile arm: mvebu: Implement secure boot 2017-02-01 09:04:18 +01:00
mbus.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
sata.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
spl.c arm: mvebu: spl.c: Remove useless gd declaration 2017-02-01 09:02:49 +01:00
timer.c arm: mvebu: Move SoC selection (A38X vs AXP) into Kconfig 2016-01-14 14:08:59 +01:00