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

Unified Diff: include/configs/chromeos/tegra2/harmony/recovery.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/harmony/recovery.h
diff --git a/include/configs/chromeos/tegra2/harmony/recovery.h b/include/configs/chromeos/tegra2/harmony/recovery.h
old mode 100644
new mode 100755
index d086eeb280b49f767891e0b5b14dc432400d090e..71b1c12005990fda27c35dcd46ec77c083681123
--- a/include/configs/chromeos/tegra2/harmony/recovery.h
+++ b/include/configs/chromeos/tegra2/harmony/recovery.h
@@ -37,9 +37,16 @@
/* UARTA: debug board uart */
#define CONFIG_SYS_NS16550_COM2 NV_ADDRESS_MAP_APB_UARTA_BASE
+#ifdef CONFIG_TEGRA2_LP0
+#define CONFIG_EXTRA_ENV_SETTINGS \
+ CONFIG_TEGRA_ENV_SETTINGS \
+ "platform_extras=mem=384M@0M nvmem=128M@384M mem=512M@512M "\
+ "lp0_vec="TEGRA_LP0_SIZE_STR"@"TEGRA_LP0_DEFAULT_ADDR_STR "\0"
+#else
#define CONFIG_EXTRA_ENV_SETTINGS \
CONFIG_TEGRA_ENV_SETTINGS \
"platform_extras=mem=384M@0M nvmem=128M@384M mem=512M@512M\0"
+#endif
#define LINUX_MACH_TYPE MACH_TYPE_HARMONY
#define CONFIG_SYS_BOARD_ODMDATA 0x300d8011 // lp1, 1GB

Powered by Google App Engine
This is Rietveld 408576698