]> git.sur5r.net Git - u-boot/commit
tegra20: move SDRAM param save to later in boot
authorAllen Martin <amartin@nvidia.com>
Fri, 31 Aug 2012 08:30:11 +0000 (08:30 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:22 +0000 (14:58 +0200)
commita49716aa7cda96f5e8cd15e57587da7a99f9e330
treea50f2aee0174a09a34e5a799797ac56cc38afc9b
parent984df4ec92aa05117e34bda7b937ec75ef80afc8
tegra20: move SDRAM param save to later in boot

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.

Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Tested-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/tegra20-common/ap20.c
board/nvidia/common/board.c