mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
ARM: mvebu: a38x: use non-zero size for ddr scrubbing
Make ddr3_calc_mem_cs_size() global scope and use it in ddr3_new_tip_ecc_scrub to correctly initialize all of DDR memory. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
e6f61622d3
commit
db363dbce7
3 changed files with 5 additions and 1 deletions
|
@ -995,7 +995,7 @@ static u32 ddr3_get_device_size(u32 cs)
|
|||
}
|
||||
}
|
||||
|
||||
static int ddr3_calc_mem_cs_size(u32 cs, uint64_t *cs_size)
|
||||
int ddr3_calc_mem_cs_size(u32 cs, uint64_t *cs_size)
|
||||
{
|
||||
u32 cs_mem_size;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue