mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-05 11:00:43 +09:00
ARM: zynq: Do not use half memory size for ECC case
Memory size should be specified without ECC place. If you need to have half memory size, please change u-boot configuration. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
96a2859e54
commit
10fa49f428
@ -44,7 +44,4 @@ void zynq_ddrc_init(void)
|
|||||||
} else {
|
} else {
|
||||||
puts("Memory: ECC disabled\n");
|
puts("Memory: ECC disabled\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (width == ZYNQ_DDRC_CTRLREG_BUSWIDTH_16BIT)
|
|
||||||
gd->ram_size /= 2;
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user