| Index: arch/arm/lib/board.c
|
| diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
|
| old mode 100644
|
| new mode 100755
|
| index a5c446e38c9bf2f157b22052d4d402ed78eefbaf..a910f8cedae00eb1cefac8e218b0407d39343f53
|
| --- a/arch/arm/lib/board.c
|
| +++ b/arch/arm/lib/board.c
|
| @@ -64,6 +64,11 @@
|
| #include "../drivers/net/lan91c96.h"
|
| #endif
|
|
|
| +#ifdef CONFIG_TEGRA2_LP0
|
| +/* to get prototype of prepare_wb_code */
|
| +#include <asm/arch/warmboot.h>
|
| +#endif
|
| +
|
| DECLARE_GLOBAL_DATA_PTR;
|
|
|
| ulong monitor_flash_len;
|
| @@ -319,6 +324,10 @@ void start_armboot (void)
|
| /* create memory heap for tegra2 */
|
| mem_malloc_init (CONFIG_STACKBASE - CONFIG_SYS_MALLOC_LEN,
|
| CONFIG_SYS_MALLOC_LEN);
|
| +#if defined(CONFIG_TEGRA2_LP0)
|
| + /* prepare the WB code to LP0 location */
|
| + prepare_wb_code(TEGRA_LP0_DEFAULT_ADDR, TEGRA_LP0_SIZE);
|
| +#endif
|
| #else
|
| #if defined(CONFIG_STACK_BASE)
|
| /* _STACK_BASE is defined in the board-specific linker script
|
|
|