[U-Boot] [PATCH v3 10/14] tegra: move SDRAM param save to later in boot

Allen Martin
2012-06-11T22:38:31Z

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 <amartin at nvidia.com<mailto:amartin@nvidia.com>> 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