From 67ac5797adb1fad3b027058100cd6fa58c5b6cb6 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 2 Apr 2012 13:18:57 +0000 Subject: [PATCH] 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 --- board/nvidia/common/board.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; } -- 2.30.2