summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWolfgang Grandegger <wg@denx.de>2009-10-23 12:03:15 +0200
committerAnatolij Gustschin <agust@denx.de>2009-10-31 12:17:40 +0100
commit229b6dce675c729ee0ea2d7b61fbcda89b23b6b8 (patch)
tree30017fffb7d94dbeee8f0ef6d72e380cee35ee8b /include
parent5d16ca87100ea58c93c46b9f0264981eaed49568 (diff)
downloadblackbird-obmc-uboot-229b6dce675c729ee0ea2d7b61fbcda89b23b6b8.tar.gz
blackbird-obmc-uboot-229b6dce675c729ee0ea2d7b61fbcda89b23b6b8.zip
video: mb862xx: add option VIDEO_FB_16BPP_WORD_SWAP for IPEK01
In 16 bpp mode, the new IPEK01 board only requires swapping of D16 words for D32 accesses due to the diffferent connecting to the GDC bus. This patch introduces the configuration option VIDEO_FB_16BPP_WORD_SWAP, which should be set for all board using the mb862xx in 16 bpp mode. For the IPEK01, VIDEO_FB_16BPP_PIXEL_SWAP should not be set. Signed-off-by: Wolfgang Grandegger <wg@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/lwmon5.h1
-rw-r--r--include/configs/socrates.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/lwmon5.h b/include/configs/lwmon5.h
index 927b80f9e2..011dd5c81a 100644
--- a/include/configs/lwmon5.h
+++ b/include/configs/lwmon5.h
@@ -349,6 +349,7 @@
#define CONFIG_VIDEO_LOGO
#define CONFIG_CONSOLE_EXTRA_INFO
#define VIDEO_FB_16BPP_PIXEL_SWAP
+#define VIDEO_FB_16BPP_WORD_SWAP
#define CONFIG_VGA_AS_SINGLE_DEVICE
#define CONFIG_VIDEO_SW_CURSOR
diff --git a/include/configs/socrates.h b/include/configs/socrates.h
index 59a4b28371..3632b847f8 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -204,6 +204,7 @@
#define CONFIG_VIDEO_BMP_LOGO
#define CONFIG_CONSOLE_EXTRA_INFO
#define VIDEO_FB_16BPP_PIXEL_SWAP
+#define VIDEO_FB_16BPP_WORD_SWAP
#define CONFIG_VGA_AS_SINGLE_DEVICE
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
#define CONFIG_VIDEO_SW_CURSOR
OpenPOWER on IntegriCloud