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

Unified Diff: include/configs/chromeos/tegra2/seaboard/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/seaboard/recovery.h
diff --git a/include/configs/chromeos/tegra2/seaboard/recovery.h b/include/configs/chromeos/tegra2/seaboard/recovery.h
old mode 100644
new mode 100755
index 3cd39eb293d1f78ceafec50a5f42c8b7eaa23397..8045d2a01a361e81dc5f31417c15995f1edf9d10
--- a/include/configs/chromeos/tegra2/seaboard/recovery.h
+++ b/include/configs/chromeos/tegra2/seaboard/recovery.h
@@ -36,9 +36,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 "\
Tom Warren 2010/11/16 16:44:11 Cleaner to just put the #ifdef CONFIG_TEGRA2_LP0 h
yelin 2010/11/16 23:41:04 I was hoping I can do that way too. But, that does
+ "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_TEGRA_SEABOARD
#define CONFIG_SYS_BOARD_ODMDATA 0x300d8011 //lp1, 1GB

Powered by Google App Engine
This is Rietveld 408576698