Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1780)

Unified Diff: arch/arm/lib/board.c

Issue 4841001: Tegra2: implement Warmboot code and lp0_vec (Closed) Base URL: http://git.chromium.org/git/u-boot-next.git@chromeos-v2010.09
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698