From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 3 Jan 2012 07:31:21 -0700 Subject: [U-Boot] [PATCH] arm/omap3: limit chip select iteration based on board config In-Reply-To: <1324582093-27718-1-git-send-email-marathon96@gmail.com> References: <1324582093-27718-1-git-send-email-marathon96@gmail.com> Message-ID: <4F031139.9020502@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/22/2011 12:28 PM, Grant Erickson wrote: > Only attempt to configure and add DRAM at chip select 1 if the board has configured more than one bank of DRAM. > > This prevents boards that have CONFIG_NR_DRAM_BANKS set to 1 from getting an incorrect DRAM size. > > Signed-off-by: Grant Erickson > Cc: Tom Rini OK, what problem (and on what board) are you seeing? Many boards only have CS0 populated with DRAM but when we try and configure CS1 the mem_ok() call fails and we don't try and use it, so we don't get a wrong amount of memory. Thanks! -- Tom