mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
8efc243741
Because KS2 u-boot works in 32 bit address space the existing ram_size global data field cannot be used. The maximum, which the get_ram_size() can detect is 2GB only. The ft_board_setup() needs the actual ddr3 size to fix up dtb. This commit introduces the ddr3_get_size() which uses SPD data to calculate the ddr3 size. This function replaces the "ddr3_size" environment variable, which was used to get the SODIMM size. For platforms, which don't have SODIMM with SPD and ddr3 is populated to a board a simple ddr3_get_size function that returns ddr3 size has to be implemented. See hardware-k2l.h Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
||
---|---|---|
.. | ||
clock-k2e.h | ||
clock-k2g.h | ||
clock-k2hk.h | ||
clock-k2l.h | ||
clock.h | ||
clock_defs.h | ||
ddr3.h | ||
hardware-k2e.h | ||
hardware-k2g.h | ||
hardware-k2hk.h | ||
hardware-k2l.h | ||
hardware.h | ||
i2c_defs.h | ||
mmc_host_def.h | ||
mon.h | ||
msmc.h | ||
mux-k2g.h | ||
psc_defs.h | ||
xhci-keystone.h |