[U-Boot] [PATCH] arm/omap3: limit chip select iteration based on board config
Tom Rini
trini at ti.com
Tue Jan 3 15:31:21 CET 2012
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 <marathon96 at gmail.com>
> Cc: Tom Rini <trini at ti.com>
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
More information about the U-Boot
mailing list