summaryrefslogtreecommitdiffstats
path: root/include/configs/medcom-wide.h
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2012-11-23 00:58:50 +0000
committerTom Warren <twarren@nvidia.com>2013-01-16 13:40:06 -0700
commit7c3f386d0c125f1fdb84a88329e396ed0ff66ab4 (patch)
treefa562fe93b48ef4fc600a07b75e23ec52a59b5d4 /include/configs/medcom-wide.h
parent0c5587549b89b8394e341e15833acc4be98ad916 (diff)
downloadblackbird-obmc-uboot-7c3f386d0c125f1fdb84a88329e396ed0ff66ab4.tar.gz
blackbird-obmc-uboot-7c3f386d0c125f1fdb84a88329e396ed0ff66ab4.zip
tegra: Enable LCD on Medcom-Wide
The Medcom-Wide has a 15" LCD panel with a resolution of 1366x768 pixels. Add a corresponding panel description to the device tree and enable LCD support in the configuration. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs/medcom-wide.h')
-rw-r--r--include/configs/medcom-wide.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/medcom-wide.h b/include/configs/medcom-wide.h
index e852e3156d..452d58715a 100644
--- a/include/configs/medcom-wide.h
+++ b/include/configs/medcom-wide.h
@@ -42,6 +42,7 @@
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
#define CONFIG_BOARD_EARLY_INIT_F
+#define CONFIG_BOARD_LATE_INIT
#define CONFIG_ENV_IS_NOWHERE
@@ -77,6 +78,19 @@
"ext2load mmc 0 0x17000000 /boot/uImage;" \
"bootm"
+#undef TEGRA_DEVICE_SETTINGS
+#define TEGRA_DEVICE_SETTINGS \
+ "stdin=serial\0" \
+ "stdout=serial,lcd\0" \
+ "stderr=serial,lcd\0"
+
+/* LCD support */
+#define CONFIG_LCD
+#define CONFIG_PWM_TEGRA
+#define CONFIG_VIDEO_TEGRA
+#define LCD_BPP LCD_COLOR16
+#define CONFIG_SYS_WHITE_ON_BLACK
+
#include "tegra-common-post.h"
#endif /* __CONFIG_H */
OpenPOWER on IntegriCloud