From: Simon Glass Date: Mon, 2 Apr 2012 13:18:57 +0000 (+0000) Subject: tegra: Set up warmboot code on Nvidia boards X-Git-Tag: v2012.07-rc1~144^2~27 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=67ac5797adb1fad3b027058100cd6fa58c5b6cb6;p=u-boot tegra: Set up warmboot code on Nvidia boards Call the function to put warmboot boot in a suitable place for resume. Signed-off-by: Simon Glass Signed-off-by: Tom Warren --- diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index 640b9c4475..b82e61a692 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidia/common/board.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -94,6 +95,11 @@ int board_init(void) board_usb_init(gd->fdt_blob); #endif +#ifdef CONFIG_TEGRA2_LP0 + /* prepare the WB code to LP0 location */ + warmboot_prepare_code(TEGRA_LP0_ADDR, TEGRA_LP0_SIZE); +#endif + return 0; }