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

Simon Glass sjg at chromium.org
Thu Jul 12 17:25:18 CEST 2012


From: Mayuresh Kulkarni <mkulkarni at nvidia.com>

Enable the Seaboard's 16-bit 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 |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
index 2a71829..d4c22e0 100644
--- a/include/configs/seaboard.h
+++ b/include/configs/seaboard.h
@@ -105,8 +105,15 @@
 
 #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
 
 #include "tegra2-common-post.h"
 
-- 
1.7.7.3



More information about the U-Boot mailing list