u-boot/arch/arm/mach-keystone/include/mach
Vitaly Andrianov 8efc243741 ARM: keystone2: use detected ddr3a size
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>
2016-03-14 19:18:45 -04:00
..
clock-k2e.h ARM: keystone2: Use common definition for clk_get_rate 2015-08-12 20:47:55 -04:00
clock-k2g.h ARM: keystone2: K2G: Add support for different arm/device speeds 2016-03-14 19:18:44 -04:00
clock-k2hk.h ARM: keystone2: Use common definition for clk_get_rate 2015-08-12 20:47:55 -04:00
clock-k2l.h ARM: k2l: Fix device speeds 2015-08-28 12:33:16 -04:00
clock.h ARM: keystone2: K2G: Add support for different arm/device speeds 2016-03-14 19:18:44 -04:00
clock_defs.h bitops: introduce BIT() definition 2015-09-11 17:15:32 -04:00
ddr3.h ARM: keystone2: use detected ddr3a size 2016-03-14 19:18:45 -04:00
hardware-k2e.h ARM: keystone: move SoC headers to mach-keystone/include/mach 2015-02-21 08:23:52 -05:00
hardware-k2g.h ARM: keystone2: K2G: power-off DSP during boot 2016-03-14 19:18:43 -04:00
hardware-k2hk.h ARM: keystone2: Use common structure for PLLs 2015-08-12 20:47:53 -04:00
hardware-k2l.h ARM: keystone2: use detected ddr3a size 2016-03-14 19:18:45 -04:00
hardware.h ARM: keystone2: Use macro for DSP GEM power domain 2016-03-14 19:18:42 -04:00
i2c_defs.h ARM: keystone: move SoC headers to mach-keystone/include/mach 2015-02-21 08:23:52 -05:00
mmc_host_def.h ARM: k2g: add SD card and eMMC support 2015-10-22 14:22:25 -04:00
mon.h ARM: keystone: move SoC headers to mach-keystone/include/mach 2015-02-21 08:23:52 -05:00
msmc.h ARM: keystone: move SoC headers to mach-keystone/include/mach 2015-02-21 08:23:52 -05:00
mux-k2g.h ARM: k2g: Add support for pin mux configuration 2015-10-22 14:22:19 -04:00
psc_defs.h ARM: keystone2: psc: introduce function to hold and release module in reset. 2016-03-14 19:18:36 -04:00
xhci-keystone.h ARM: keystone: move SoC headers to mach-keystone/include/mach 2015-02-21 08:23:52 -05:00