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

Unified Diff: include/configs/tegra2_seaboard.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
« include/configs/tegra2_harmony.h ('K') | « include/configs/tegra2_harmony.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/configs/tegra2_seaboard.h
diff --git a/include/configs/tegra2_seaboard.h b/include/configs/tegra2_seaboard.h
index b2b53f17e07db0a5d049ea0a6ae9986abf30132c..d0eb32fc4668fe952cd6d33ded658b7cd159868b 100644
--- a/include/configs/tegra2_seaboard.h
+++ b/include/configs/tegra2_seaboard.h
@@ -166,11 +166,18 @@
0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 0, '?', 0, 0, 0
+#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 CONFIG_TEGRA2_PINMUX_DISPLAY_SEABOARD
#define TEGRA_GPIO_INIT_LCD TEGRA_GPIO_INIT_LCD_SEABOARD
#define TEGRA_CLOCK_INIT_LCD TEGRA_CLOCK_INIT_LCD_SEABOARD
#define TEGRA_RESOURCE_LCD TEGRA_RESOURCE_LCD_SEABOARD
#define TEGRA_PANEL_MODE TEGRA_PANEL_MODE_SEABOARD
-
#endif /* __CONFIG_H */
« include/configs/tegra2_harmony.h ('K') | « include/configs/tegra2_harmony.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698