summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2012-02-16 14:25:31 +0530
committerGerrit <chrome-bot@google.com>2012-02-27 01:36:44 -0800
commit2ddff25f8bba1a9a0cb788222040b3aa32a31da8 (patch)
treed0ae1f1d5b8b3dfeb6cbbbf6a955219f469c2e20 /include
parent50d29eba6c6ada03dedb4e06061ceefa89709627 (diff)
arm: tegra3: add warmboot code needed for LP0
BUG=chromium-os:23496 TEST=build and boot on Waluigi, Cardhu by enabling CONFIG_TEGRA_LP0 and CONFIG_TEGRA3_WARMBOOT. odification of the work done by: a. Jimmy Zhang <jimmzhang@nvidia.com> b. Yen Lin <yelin@nvidia.com> c. Wei Ni <wni@nvidia.com> Change-Id: If2fa63ccd23341694955bca25fb5cfc4a8a805ad Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: https://gerrit.chromium.org/gerrit/13800
Diffstat (limited to 'include')
-rw-r--r--include/configs/tegra3-common.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/configs/tegra3-common.h b/include/configs/tegra3-common.h
index 3a5f234930..ea391c1900 100644
--- a/include/configs/tegra3-common.h
+++ b/include/configs/tegra3-common.h
@@ -1,5 +1,5 @@
/*
- * (C) Copyright 2010,2011
+ * (C) Copyright 2010-2012
* NVIDIA Corporation <www.nvidia.com>
*
* See file CREDITS for list of people who contributed to this
@@ -80,6 +80,15 @@
#define CONFIG_SYS_NO_FLASH
+#ifdef CONFIG_TEGRA3_WARMBOOT
+#define TEGRA_LP0_ADDR 0x9C406000
+#define TEGRA_LP0_SIZE SZ_8K
+#define TEGRA_LP0_VEC \
+ "lp0_vec=" QUOTE(TEGRA_LP0_SIZE) "@" QUOTE(TEGRA_LP0_ADDR) " "
+#else
+#define TEGRA_LP0_VEC
+#endif
+
#define CONFIG_LOADADDR 0x80408000 /* def. location for kernel */
#define CONFIG_BOOTDELAY 3 /* -1 to disable auto boot */
#define CONFIG_ZERO_BOOTDELAY_CHECK