From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allen Martin Date: Mon, 11 Jun 2012 15:38:31 -0700 Subject: [U-Boot] [PATCH v3 10/14] tegra: move SDRAM param save to later in boot In-Reply-To: References: <1339190167-20320-1-git-send-email-amartin@nvidia.com> <1339190167-20320-11-git-send-email-amartin@nvidia.com> Message-ID: <20120611223830.GH6633@nvidia.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 Sat, Jun 09, 2012 at 12:15:01PM -0700, Simon Glass wrote: > Hi Allen, > > On Fri, Jun 8, 2012 at 2:16 PM, Allen Martin > wrote: > Move warmboot_save_sdram_params() to later in the boot sequence. This > code relies on devicetree to get the address of the memory controller > and with upcoming changes for SPL boot it gets called early in the > boot process when devicetree is not initialized yet. > > In fact I suppose you could move it much later to board_init() or even into the warmboot setup code there. Putting it in dram_init() might not be the best place. Ok, I'll try board_init() -Allen -- nvpublic