diff options
author | wdenk <wdenk> | 2004-08-04 21:56:49 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-08-04 21:56:49 +0000 |
commit | 89394047ba438f70f40ebc89b812824b01fec663 (patch) | |
tree | db73eec28812ad5f65f81db65c1d479798d88d33 /drivers | |
parent | 429168ea88daf7140005c790796fc150d746aacf (diff) | |
download | u-boot-imx-89394047ba438f70f40ebc89b812824b01fec663.zip u-boot-imx-89394047ba438f70f40ebc89b812824b01fec663.tar.gz u-boot-imx-89394047ba438f70f40ebc89b812824b01fec663.tar.bz2 |
* Patch by Martin Krause, 03 Aug 2004:
change timing for SM501 graphics controller on TQM5200 module
* Patch by Mark Jonas, 13 July 2004:
- Total5200 LCD now run in little endian mode. Endianess conversion
is done in hardware.
- Removed last reference to "console" environment variable.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cfb_console.c | 2 | ||||
-rw-r--r-- | drivers/sed13806.c | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/drivers/cfb_console.c b/drivers/cfb_console.c index 3d26ae2..1eaac47 100644 --- a/drivers/cfb_console.c +++ b/drivers/cfb_console.c @@ -123,7 +123,9 @@ CONFIG_VIDEO_HW_CURSOR: - Uses the hardware cursor capability of the /*****************************************************************************/ #ifdef CONFIG_VIDEO_SED13806 +#ifndef CONFIG_TOTAL5200 #define VIDEO_FB_LITTLE_ENDIAN +#endif #define VIDEO_HW_RECTFILL #define VIDEO_HW_BITBLT #endif diff --git a/drivers/sed13806.c b/drivers/sed13806.c index 114a247..6996ca8 100644 --- a/drivers/sed13806.c +++ b/drivers/sed13806.c @@ -36,9 +36,13 @@ #define writeByte(ptrReg,value) \ *(volatile unsigned char *)(sed13806.isaBase + ptrReg) = value +#ifdef CONFIG_TOTAL5200 +#define writeWord(ptrReg,value) \ + (*(volatile unsigned short *)(sed13806.isaBase + ptrReg) = value) +#else #define writeWord(ptrReg,value) \ (*(volatile unsigned short *)(sed13806.isaBase + ptrReg) = ((value >> 8 ) & 0xff) | ((value << 8) & 0xff00)) - +#endif GraphicDevice sed13806; |