1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-02 01:02:19 +02:00
Files
u-boot-megous/board
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
..
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2015-09-11 17:12:57 -04:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2015-11-12 17:38:08 +01:00
2015-09-11 14:59:16 -04:00
2016-02-06 12:00:59 +01:00
2015-08-05 08:44:06 -06:00
2015-09-07 13:41:04 +02:00
2016-02-06 12:00:59 +01:00
2016-01-20 10:19:38 -05:00
2016-02-06 12:00:59 +01:00
2016-02-20 21:40:02 +01:00
2015-11-21 21:50:17 -05:00
2016-02-06 12:00:59 +01:00
2015-11-21 21:50:17 -05:00
2016-01-25 10:40:00 -05:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2015-11-21 21:50:17 -05:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-01-19 08:31:21 -05:00