summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarc Dietrich <marvin24@gmx.de>2012-11-25 11:26:12 +0000
committerTom Warren <twarren@nvidia.com>2013-01-16 13:40:07 -0700
commit25dccd6fdd30656e70619ca70b947c9f67466667 (patch)
tree62f2b52e93b2140e8d3d891b3e70c3b056c81950 /include
parent716d94398344baa313c381b64c97ea20544454ca (diff)
downloadu-boot-imx-25dccd6fdd30656e70619ca70b947c9f67466667.zip
u-boot-imx-25dccd6fdd30656e70619ca70b947c9f67466667.tar.gz
u-boot-imx-25dccd6fdd30656e70619ca70b947c9f67466667.tar.bz2
tegra: enable LCD on PAZ00
This adds LCD panel descriptions to the device tree of PAZ00 and enables LCD support in the configuration. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/paz00.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/configs/paz00.h b/include/configs/paz00.h
index 38c79cf..4a74d00 100644
--- a/include/configs/paz00.h
+++ b/include/configs/paz00.h
@@ -36,6 +36,7 @@
#define CONFIG_MACH_TYPE MACH_TYPE_PAZ00
#define CONFIG_BOARD_EARLY_INIT_F
+#define CONFIG_BOARD_LATE_INIT
/* SD/MMC */
#define CONFIG_MMC
@@ -71,6 +72,20 @@
#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
+#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
+#define CONFIG_CONSOLE_SCROLL_LINES 10
+
#include "tegra-common-post.h"
#endif /* __CONFIG_H */