summaryrefslogtreecommitdiffstats
path: root/board/trab
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-04-12 23:38:12 +0000
committerwdenk <wdenk>2003-04-12 23:38:12 +0000
commit4a6fd34b267dbf4a72080ab9a085bb45c63660fb (patch)
tree4ec6a0f355924d61109921b2a1c75b91794f8ba6 /board/trab
parent69f8f827d52491f6b89cb8d7cb33810bc7555079 (diff)
downloadblackbird-obmc-uboot-4a6fd34b267dbf4a72080ab9a085bb45c63660fb.tar.gz
blackbird-obmc-uboot-4a6fd34b267dbf4a72080ab9a085bb45c63660fb.zip
* Patch by Lutz Dennig, 10 Apr 2003:
Update for R360MPI board * Add new meaning to "autostart" environment variable: If set to "no", a standalone image passed to the "bootm" command will be copied to the load address (and eventually uncompressed), but NOT be started. This can be used to load and uncompress arbitrary data. * Set max brightness for MN11236 displays on TRAB board
Diffstat (limited to 'board/trab')
-rw-r--r--board/trab/vfd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/board/trab/vfd.c b/board/trab/vfd.c
index 9b61f6eb61..d0dcedcec8 100644
--- a/board/trab/vfd.c
+++ b/board/trab/vfd.c
@@ -486,7 +486,11 @@ int drv_vfd_init(void)
/* frame buffer endadr */
rLCDSADDR2 = (gd->fb_base + FRAME_BUF_SIZE) >> 1;
rLCDSADDR3 = ((256/4));
- rLCDCON2 = 0x000DC000;
+rLCDCON2 = 0x000DC000;
+ if(gd->vfd_type == VFD_TYPE_MN11236)
+ rLCDCON2 = 37 << 14; /* MN11236: 38 lines */
+ else
+ rLCDCON2 = 55 << 14; /* T119C: 56 lines */
rLCDCON3 = 0x0051000A;
rLCDCON4 = 0x00000001;
if (gd->vfd_type && vfd_inv_data)
OpenPOWER on IntegriCloud