aboutsummaryrefslogtreecommitdiff
path: root/board/boundary
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2014-10-02 12:16:36 -0700
committerStefano Babic <sbabic@denx.de>2014-10-06 17:57:22 +0200
commit135663061ffa78c391dd502674bb50823555b675 (patch)
tree0ee8674e74643b7c3e0500f3e120f7b15b0f51d2 /board/boundary
parent04edda266d333af5fe8cd5775f49071e8098082a (diff)
downloadu-boot-135663061ffa78c391dd502674bb50823555b675.zip
u-boot-135663061ffa78c391dd502674bb50823555b675.tar.gz
u-boot-135663061ffa78c391dd502674bb50823555b675.tar.bz2
nitrogen6x: display: add svga display (800x600)
Add support for 800x600 18-bit RGB displays using VESA GTF timings. No auto-detection is supported, so you must configure this panel manually through the 'panel' environment variable: U-Boot > setenv panel svga 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 be2a41f..ccbb9b7 100644
--- a/board/boundary/nitrogen6x/nitrogen6x.c
+++ b/board/boundary/nitrogen6x/nitrogen6x.c
@@ -634,6 +634,26 @@ struct display_info_t const displays[] = {{
.sync = 0x40000002,
.vmode = FB_VMODE_NONINTERLACED
} }, {
+ .bus = 0,
+ .addr = 0,
+ .pixfmt = IPU_PIX_FMT_RGB666,
+ .detect = NULL,
+ .enable = enable_rgb,
+ .mode = {
+ .name = "svga",
+ .refresh = 60,
+ .xres = 800,
+ .yres = 600,
+ .pixclock = 15385,
+ .left_margin = 220,
+ .right_margin = 40,
+ .upper_margin = 21,
+ .lower_margin = 7,
+ .hsync_len = 60,
+ .vsync_len = 10,
+ .sync = 0,
+ .vmode = FB_VMODE_NONINTERLACED
+} }, {
.bus = 2,
.addr = 0x48,
.pixfmt = IPU_PIX_FMT_RGB666,