summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2011-01-04 15:35:27 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-21 10:36:07 +0100
commitbd56e41d1912dcedd36549ee032b2dd7631fa6af (patch)
treef98dcbc516f9eaf716a6139a02a6302792baaf54 /arch/arm/mach-mxs
parentb82f0d4c09afcbee12c980337113c60c2f1ccbe4 (diff)
downloadbarebox-bd56e41d1912dcedd36549ee032b2dd7631fa6af.tar.gz
barebox-bd56e41d1912dcedd36549ee032b2dd7631fa6af.tar.xz
ARM STM/i.MX: Add possibility to choose the bit per pixel for STM video driver
When describing an new video interface, it is now possible to select the bit per pixel. If nothing is chosen 16bpp is selected by default. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r--arch/arm/mach-mxs/include/mach/fb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/include/mach/fb.h b/arch/arm/mach-mxs/include/mach/fb.h
index 5346306311..2b61dee2c7 100644
--- a/arch/arm/mach-mxs/include/mach/fb.h
+++ b/arch/arm/mach-mxs/include/mach/fb.h
@@ -37,6 +37,7 @@ struct imx_fb_platformdata {
unsigned dotclk_delay; /**< refer manual HW_LCDIF_VDCTRL4 register */
unsigned ld_intf_width; /**< refer STMLCDIF_* macros */
+ unsigned bits_per_pixel;
void *fixed_screen; /**< if != NULL use this as framebuffer memory */
unsigned fixed_screen_size; /**< framebuffer memory size for fixed_screen */