mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 02:08:38 +00:00
fcfdfdd58c
The MX6 DRAM controller can be configured to handle 4GiB of DRAM, but only 3840 MiB of that can be really used. In case the controller is configured to operate a 4GiB module, the imx_ddr_size() function will correctly compute that there is 4GiB of DRAM in the system. Firstly, the return value is 32-bit, so the function will effectively return zero. Secondly, the MX6 cannot address the full 4GiB, but only 3840MiB of all that. Thus, clamp the returned size to 3840MiB in such case. Signed-off-by: Marek Vasut <marex@denx.de> Acked-by: Tim Harvey <tharvey@gateworks.com> |
||
---|---|---|
.. | ||
cmd_bmode.c | ||
cmd_hdmidet.c | ||
cpu.c | ||
i2c-mxv7.c | ||
iomux-v3.c | ||
Makefile | ||
misc.c | ||
sata.c | ||
speed.c | ||
spl.c | ||
timer.c | ||
video.c |