mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 04:26:19 -04:00
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 <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
parent
c5179da9f3
commit
67ac5797ad
@ -34,6 +34,7 @@
|
|||||||
#include <asm/arch/pmc.h>
|
#include <asm/arch/pmc.h>
|
||||||
#include <asm/arch/pmu.h>
|
#include <asm/arch/pmu.h>
|
||||||
#include <asm/arch/uart.h>
|
#include <asm/arch/uart.h>
|
||||||
|
#include <asm/arch/warmboot.h>
|
||||||
#include <spi.h>
|
#include <spi.h>
|
||||||
#include <asm/arch/usb.h>
|
#include <asm/arch/usb.h>
|
||||||
#include <i2c.h>
|
#include <i2c.h>
|
||||||
@ -94,6 +95,11 @@ int board_init(void)
|
|||||||
board_usb_init(gd->fdt_blob);
|
board_usb_init(gd->fdt_blob);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_TEGRA2_LP0
|
||||||
|
/* prepare the WB code to LP0 location */
|
||||||
|
warmboot_prepare_code(TEGRA_LP0_ADDR, TEGRA_LP0_SIZE);
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user