summaryrefslogtreecommitdiff
path: root/include/configs/seaboard.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-05-26 21:51:08 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:39:17 -0700
commit374f204d5bf0cb97e26928fb4ee0be6ea2801343 (patch)
tree2d8138241b627043a5cd3895bd4acab09fa05a27 /include/configs/seaboard.h
parentae4d8bbda5d84c11af8c930f3d06da3128ffce61 (diff)
tegra2: config: Enable LCD
This enables an LCD display on Seaboard BUG=chromium-os:13228 TEST=Build, boot on Seaboard, see that LCD works Change-Id: Idd070c9a45f58082029e0f8d21ba4e0a877bdf65 Reviewed-on: http://gerrit.chromium.org/gerrit/1766 Tested-by: Simon Glass <sjg@chromium.org> Reviewed-by: Anton Staaf <robotboy@chromium.org>
Diffstat (limited to 'include/configs/seaboard.h')
-rw-r--r--include/configs/seaboard.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
index 3cec8fbde15..ebe56ee9495 100644
--- a/include/configs/seaboard.h
+++ b/include/configs/seaboard.h
@@ -56,8 +56,8 @@
#define CONFIG_CONSOLE_MUX
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial,tegra-kbc\0" \
- "stdout=serial\0" \
- "stderr=serial\0"
+ "stdout=serial,lcd\0" \
+ "stderr=serial,lcd\0"
#define CONFIG_MACH_TYPE MACH_TYPE_SEABOARD
#define CONFIG_SYS_BOARD_ODMDATA 0x300d8011 /* lp1, 1GB */
@@ -176,6 +176,16 @@
0, 0, 0, 0, '?', 0, 0, 0 \
}
+/*
+ * LCDC configuration
+ */
+#define CONFIG_LCD
+#define CONFIG_VIDEO_TEGRA2
+
+/* TODO: This needs to be configurable at run-time */
+#define LCD_BPP LCD_COLOR16
+#define CONFIG_SYS_WHITE_ON_BLACK /*Console colors*/
+
#define CONFIG_EXTRA_ENV_SETTINGS \
CONFIG_EXTRA_ENV_SETTINGS_COMMON \
"board=seaboard\0" \