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

Unified Diff: include/configs/chromeos/tegra2/common.h

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: Add CONFIG_TEGRA2_LP0 to support LP0 conditionally 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: include/configs/chromeos/tegra2/common.h
diff --git a/include/configs/chromeos/tegra2/common.h b/include/configs/chromeos/tegra2/common.h
old mode 100644
new mode 100755
index f561f528071691d5544c1c7309be0699da6753c6..938b90152b143c977e1d3a245227a7375ce76f06
--- a/include/configs/chromeos/tegra2/common.h
+++ b/include/configs/chromeos/tegra2/common.h
@@ -120,6 +120,23 @@
#define CONFIG_SYS_I2C_SPEED 100000
#endif
+/* Enable Warmboot code and lp0_vec */
+#define CONFIG_TEGRA2_LP0 1
+
+#ifdef CONFIG_TEGRA2_LP0
+/* make sure the following 2 defines have the same values
+ * (_STR is the string of TEGRA_LP0_DEFAULT_ADDR)
+ */
+#define TEGRA_LP0_DEFAULT_ADDR 0x1C406000
+#define TEGRA_LP0_DEFAULT_ADDR_STR "0x1C406000"
+
+/* make sure the following 2 defines have the same values
+ * (_STR is the string of TEGRA_LP0_SIZE)
+ */
+#define TEGRA_LP0_SIZE 0x2000
+#define TEGRA_LP0_SIZE_STR "0x2000"
+#endif
+
#define CONFIG_LOADADDR 0x40C000
#define CONFIG_BOOTDELAY 2 /* 2s to break to prompt */
#define CONFIG_TEGRA_ENV_SETTINGS \

Powered by Google App Engine
This is Rietveld 408576698