[U-Boot] [PATCH 17/17] tegra: Enable display/lcd support on Seaboard

Simon Glass sjg at chromium.org
Sun Jan 15 01:47:29 CET 2012


From: Mayuresh Kulkarni <mkulkarni at nvidia.com>

Enable the Seaboard's 16bpp LCD and use it as the console.

Signed-off-by: Mayuresh Kulkarni <mkulkarni at nvidia.com>
Signed-off-by: Simon Glass <sjg at chromium.org>
---
 include/configs/seaboard.h |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
index fe60b38..09c4196 100644
--- a/include/configs/seaboard.h
+++ b/include/configs/seaboard.h
@@ -64,6 +64,7 @@
 #define CONFIG_SYS_BOARD_ODMDATA	0x300d8011 /* lp1, 1GB */
 
 #define CONFIG_BOARD_EARLY_INIT_F
+#define CONFIG_BOARD_LATE_INIT		/* Make sure LCD init is complete */
 
 /* SPI */
 #define CONFIG_TEGRA2_SPI
@@ -123,6 +124,13 @@
 
 #undef TEGRA2_DEVICE_SETTINGS
 #define TEGRA2_DEVICE_SETTINGS	"stdin=serial,tegra-kbc\0" \
-					"stdout=serial\0" \
-					"stderr=serial\0"
+					"stdout=serial,lcd\0" \
+					"stderr=serial,lcd\0"
+
+/* LCD support */
+#define CONFIG_LCD
+#define CONFIG_VIDEO_TEGRA
+#define LCD_BPP				LCD_COLOR16
+#define CONFIG_SYS_WHITE_ON_BLACK
+#define CONSOLE_SCROLL_LINES		10
 #endif /* __CONFIG_H */
-- 
1.7.7.3



More information about the U-Boot mailing list