u-boot/arch
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
..
arc arc: cache - utilize IO coherency (AKA IOC) engine 2016-02-20 11:20:05 +03:00
arm ARM: keystone2: use detected ddr3a size 2016-03-14 19:18:45 -04:00
avr32 avr32: Use the generic bitops headers 2015-11-05 10:52:31 -05:00
blackfin Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
m68k m68k: M54418TWR: drop board/freescale/m54418twr/config.mk 2016-01-20 10:19:34 -05:00
microblaze Kconfig: Move CONFIG_FIT and related options to Kconfig 2016-03-14 19:18:07 -04:00
mips MIPS: fix mips_cache fallback without __builtin_mips_cache 2016-03-09 11:00:40 +01:00
nds32 Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
nios2 nios2: set up the debug UART early 2016-02-06 15:14:25 +08:00
openrisc openrisc: Fix build errors 2016-01-25 10:40:01 -05:00
powerpc Kconfig: Move CONFIG_FIT and related options to Kconfig 2016-03-14 19:18:07 -04:00
sandbox sandbox: Fix building with LLVM 2016-03-08 15:01:46 -05:00
sh Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
sparc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
x86 x86: Add Intel Cougar Canyon 2 board 2016-02-21 13:42:52 +08:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig MIPS: add initial infrastructure for device-tree files 2016-01-16 21:06:45 +01:00