aboutsummaryrefslogtreecommitdiff
path: root/board/boundary
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2014-10-02 12:16:32 -0700
committerStefano Babic <sbabic@denx.de>2014-10-06 17:57:21 +0200
commit443d4d15d7bd2f2bd5a58a6a6dd8da2a8dd23de4 (patch)
tree7200ce047eba77c7ce4b0cbf834707a3f649dac8 /board/boundary
parent4328fb05bf8c90e96afa023d39395efa5fb2fda5 (diff)
downloadu-boot-443d4d15d7bd2f2bd5a58a6a6dd8da2a8dd23de4.zip
u-boot-443d4d15d7bd2f2bd5a58a6a6dd8da2a8dd23de4.tar.gz
u-boot-443d4d15d7bd2f2bd5a58a6a6dd8da2a8dd23de4.tar.bz2
nitrogen6x: display: add qvga panel
Add support for a 1/4 VGA panel with a 24-bit RGB interface. No auto-detection is enabled, so you must configure the 'panel' environment variable to use this display: U-Boot > setenv panel qvga U-Boot > saveenv && reset Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'board/boundary')
-rw-r--r--board/boundary/nitrogen6x/nitrogen6x.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c
index 39e8013..5e0461c 100644
--- a/board/boundary/nitrogen6x/nitrogen6x.c
+++ b/board/boundary/nitrogen6x/nitrogen6x.c
@@ -593,6 +593,26 @@ struct display_info_t const displays[] = {{
.vsync_len = 10,
.sync = 0,
.vmode = FB_VMODE_NONINTERLACED
+} }, {
+ .bus = 0,
+ .addr = 0,
+ .pixfmt = IPU_PIX_FMT_RGB24,
+ .detect = NULL,
+ .enable = enable_rgb,
+ .mode = {
+ .name = "qvga",
+ .refresh = 60,
+ .xres = 320,
+ .yres = 240,
+ .pixclock = 37037,
+ .left_margin = 38,
+ .right_margin = 37,
+ .upper_margin = 16,
+ .lower_margin = 15,
+ .hsync_len = 30,
+ .vsync_len = 3,
+ .sync = 0,
+ .vmode = FB_VMODE_NONINTERLACED
} } };
size_t display_count = ARRAY_SIZE(displays);