diff options
author | wdenk <wdenk> | 2003-04-12 23:38:12 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-04-12 23:38:12 +0000 |
commit | 4a6fd34b267dbf4a72080ab9a085bb45c63660fb (patch) | |
tree | 4ec6a0f355924d61109921b2a1c75b91794f8ba6 /board/trab | |
parent | 69f8f827d52491f6b89cb8d7cb33810bc7555079 (diff) | |
download | u-boot-imx-4a6fd34b267dbf4a72080ab9a085bb45c63660fb.zip u-boot-imx-4a6fd34b267dbf4a72080ab9a085bb45c63660fb.tar.gz u-boot-imx-4a6fd34b267dbf4a72080ab9a085bb45c63660fb.tar.bz2 |
* 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.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/board/trab/vfd.c b/board/trab/vfd.c index 9b61f6e..d0dcedc 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) |