From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 26 Feb 2016 13:16:56 -0500 Subject: [U-Boot] [PATCH 6/6] ARM: keystone2: use detected ddr3a size In-Reply-To: <1456415535-22689-7-git-send-email-nm@ti.com> References: <1456415535-22689-1-git-send-email-nm@ti.com> <1456415535-22689-7-git-send-email-nm@ti.com> Message-ID: <20160226181656.GO23166@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Feb 25, 2016 at 09:52:15AM -0600, Nishanth Menon wrote: > From: Vitaly Andrianov > > 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 > Signed-off-by: Nishanth Menon Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: