|
@@ -31,6 +31,7 @@
|
|
#include <asm/arch/pmc.h>
|
|
#include <asm/arch/pmc.h>
|
|
#include <asm/arch/pinmux.h>
|
|
#include <asm/arch/pinmux.h>
|
|
#include <asm/arch/scu.h>
|
|
#include <asm/arch/scu.h>
|
|
|
|
+#include <asm/arch/warmboot.h>
|
|
#include <common.h>
|
|
#include <common.h>
|
|
|
|
|
|
int tegra_get_chip_type(void)
|
|
int tegra_get_chip_type(void)
|
|
@@ -322,6 +323,11 @@ void init_pmc_scratch(void)
|
|
|
|
|
|
/* ODMDATA is for kernel use to determine RAM size, LP config, etc. */
|
|
/* ODMDATA is for kernel use to determine RAM size, LP config, etc. */
|
|
writel(CONFIG_SYS_BOARD_ODMDATA, &pmc->pmc_scratch20);
|
|
writel(CONFIG_SYS_BOARD_ODMDATA, &pmc->pmc_scratch20);
|
|
|
|
+
|
|
|
|
+#ifdef CONFIG_TEGRA2_LP0
|
|
|
|
+ /* save Sdram params to PMC 2, 4, and 24 for WB0 */
|
|
|
|
+ warmboot_save_sdram_params();
|
|
|
|
+#endif
|
|
}
|
|
}
|
|
|
|
|
|
void tegra2_start(void)
|
|
void tegra2_start(void)
|