summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2012-11-23 00:58:51 +0000
committerTom Warren <twarren@nvidia.com>2013-01-16 13:40:07 -0700
commite1abca51b7f479828ae651d9bb54966b7fd6784a (patch)
treeb41cf9d8c654b88f5a3b064c028991ad8c5daf82 /include
parent7c3f386d0c125f1fdb84a88329e396ed0ff66ab4 (diff)
downloadu-boot-imx-e1abca51b7f479828ae651d9bb54966b7fd6784a.zip
u-boot-imx-e1abca51b7f479828ae651d9bb54966b7fd6784a.tar.gz
u-boot-imx-e1abca51b7f479828ae651d9bb54966b7fd6784a.tar.bz2
tegra: Enable LCD on TEC
The TEC ships with a 7" LCD panel that provides a resolution of 800x480 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')
-rw-r--r--include/configs/tec.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/configs/tec.h b/include/configs/tec.h
index 200cf66..815afa6 100644
--- a/include/configs/tec.h
+++ b/include/configs/tec.h
@@ -36,13 +36,13 @@
/* High-level configuration options */
#define V_PROMPT "Tegra20 (TEC) # "
#define CONFIG_TEGRA_BOARD_STRING "Avionic Design Tamonten Evaluation Carrier"
-#define CONFIG_SYS_BOARD_ODMDATA 0x2b0d8011
/* Board-specific serial config */
#define CONFIG_TEGRA_ENABLE_UARTD /* UARTD: debug UART */
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
#define CONFIG_BOARD_EARLY_INIT_F
+#define CONFIG_BOARD_LATE_INIT
/* SD/MMC */
#define CONFIG_MMC
@@ -85,6 +85,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 */