Index: arch/arm/lib/board.c |
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c |
index a5c446e38c9bf2f157b22052d4d402ed78eefbaf..eae0da0e8bd5923fe9dd191d57a55f1208127202 100644 |
--- a/arch/arm/lib/board.c |
+++ b/arch/arm/lib/board.c |
@@ -64,6 +64,10 @@ |
#include "../drivers/net/lan91c96.h" |
#endif |
+#ifdef CONFIG_TEGRA2 |
+int prepare_wb_code(unsigned int, unsigned int); |
Tom Warren
2010/11/12 00:12:40
You should put protos/forward declarations in a he
yelin
2010/11/15 23:21:21
Done.
|
+#endif |
+ |
DECLARE_GLOBAL_DATA_PTR; |
ulong monitor_flash_len; |
@@ -319,6 +323,8 @@ void start_armboot (void) |
/* create memory heap for tegra2 */ |
mem_malloc_init (CONFIG_STACKBASE - CONFIG_SYS_MALLOC_LEN, |
CONFIG_SYS_MALLOC_LEN); |
+ /* preparee the WB code to LP0 location */ |
Tom Warren
2010/11/12 00:12:40
'prepare'
yelin
2010/11/15 23:21:21
Done.
|
+ prepare_wb_code(TEGRA_LP0_DEFAULT_ADDR, TEGRA_LP0_SIZE); |
#else |
#if defined(CONFIG_STACK_BASE) |
/* _STACK_BASE is defined in the board-specific linker script |