From: Tom Rini Date: Mon, 8 Apr 2013 12:57:37 -0400 Subject: [U-Boot] arm: omap4: Fix SDRAM AUTO DETECTION In-Reply-To: <1365141074-21364-1-git-send-email-lokeshvutla@ti.com> References: <1365141074-21364-1-git-send-email-lokeshvutla@ti.com> Message-ID: <20130408165737.GK5729@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, Apr 04, 2013 at 07:51:14PM -0000, Lokesh Vutla wrote: > Commit "8602114 omap: emif: configure emif only when required" > breaks SDRAM_AUTO_DETECTION. > The issue is dmm_init() depends on emif_sizes[](SDRAM Auto detection) > done in do_sdram_init(). The above commit moves dmm_init() above > do_sdram_init() because of which dmm_init() uses uninitialized > emif_sizes[]. > So instead of using global emif_sizes[], get sdram details locally > and calculate emif sizes. > > Reported-by: Michael Cashwell > Signed-off-by: Lokesh Vutla Applied to u-boot-ti/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: