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

Unified Diff: include/configs/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: 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/tegra2-common.h
diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h
index 073495d9c1e7f73431ed33ee39c1ccf2301c97b0..415e4e628833b388fbe2d639bb77c3ff2b2cccc1 100644
--- a/include/configs/tegra2-common.h
+++ b/include/configs/tegra2-common.h
@@ -137,6 +137,16 @@
#define TEGRAPARTS_DEFAULT "system:3680:2bc0:800"
#define TEGRABOOT_DEFAULT "nand"
+
+/* 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 /* inside carveout memory region */
+#define TEGRA_LP0_DEFAULT_ADDR_STR "0x1C406000" /* inside carveout memory region */
+
+/* make sure the following 2 defines have the same values (_STR is the string of TEGRA_LP0_SIZE) */
+#define TEGRA_LP0_SIZE 0x2000 /* 8KB */
+#define TEGRA_LP0_SIZE_STR "0x2000" /* 8KB */
+
+
#undef CONFIG_YAFFS2 /* YAFFS2 Support */
#define CONFIG_YAFFS2_TAG_NO_ECC /* Disable YAFFS2 ECC calculation */
/* This is required in order to reduce nand
@@ -216,7 +226,9 @@
"console=ttyS0,115200n8\0" \
"mem=" TEGRA2_SYSMEM "\0" \
"smpflag=smp\0" \
- "videospec=tegrafb\0"
+ "videospec=tegrafb\0" \
+ "lp0addr=" TEGRA_LP0_DEFAULT_ADDR_STR "\0" \
+ "lp0size=" TEGRA_LP0_SIZE_STR "\0"
#define CONFIG_IPADDR 10.0.0.2
#define CONFIG_SERVERIP 10.0.0.1
@@ -272,6 +284,7 @@
"console=${console} " \
"usbcore.old_scheme_first=1 " \
"tegraboot=${tegraboot} " \
+ "lp0_vec=${lp0size}@${lp0addr} " \
"tegrap earlyprintk; "\
"bootm ${loadaddr}\0" \
"nandboot=setenv bootcmd " \
@@ -287,6 +300,7 @@
"console=${console} " \
"usbcore.old_scheme_first=1 " \
"tegraboot=${tegraboot} " \
+ "lp0_vec=${lp0size}@${lp0addr} " \
"tegrap earlyprintk; "\
"bootm ${loadaddr}\0" \
"nfsboot=setenv bootcmd " \
« board/tegra2/seaboard/Makefile ('K') | « include/configs/chromeos/tegra2/seaboard/recovery.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698