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_harmony.h

Issue 6623073: Chromium: arm: tegra: Add NAND support (Closed) Base URL: http://git.chromium.org/git/u-boot-next.git@chromeos-v2010.09
Patch Set: Remove unnecessary lines after Rebase to cros/chromeos-v2010.09 Created 9 years, 9 months 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_harmony.h
diff --git a/include/configs/tegra2_harmony.h b/include/configs/tegra2_harmony.h
index bd0e44b1ed0da6b36aaa9df9d8b5bd9d2096cd7e..936745ee34342f03d1f47942c0e953dd312effe3 100644
--- a/include/configs/tegra2_harmony.h
+++ b/include/configs/tegra2_harmony.h
@@ -74,6 +74,14 @@
#define CONFIG_LCD_vl_row 600
#endif
+#define CONFIG_TEGRA2_NAND_HYNIX_HY27UF4G2B 1
+/* Set clock divisor
+ * 7 bits of D and 1 bit of H
+ * divisor= (DDDDDDD + 1) + (H x 0.5)
+ * clock = original clock / divisor
+ * 6 means /4 */
+#define CONFIG_NAND_CLK_DIVISOR_DDDDDDDH 6
+
#define CONFIG_TEGRA2_PINMUX_DISPLAY_HARMONY \
PINMUX(LCSN, DISPLAYA, PULL_UP, TRISTATE) \
PINMUX(LD0, DISPLAYA, PULL_DOWN, NORMAL) \
@@ -156,5 +164,4 @@
TEGRA_PANEL(v_back_porch, 21) \
TEGRA_PANEL(h_front_porch, 34) \
TEGRA_PANEL(v_front_porch, 4)
-
robotboy 2011/03/18 18:17:32 Why remove this line?
#endif /* __CONFIG_H */

Powered by Google App Engine
This is Rietveld 408576698