diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-03-18 11:29:31 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-08-07 12:10:56 +0200 |
commit | f497d0153a6b53b4cfd004de5f10b14bf630d852 (patch) | |
tree | c541967f2612fb28402a4bab3609462856da3ac5 /arch/arm/plat-mxc/include/mach/imxfb.h | |
parent | 9b0e6db0da1ea433f38b8d952108746f3fc67304 (diff) |
imxfb: calculate bpix value from bits_per_pixel
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/imxfb.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/imxfb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/include/mach/imxfb.h b/arch/arm/plat-mxc/include/mach/imxfb.h index 9f0101157ec..66259f6158e 100644 --- a/arch/arm/plat-mxc/include/mach/imxfb.h +++ b/arch/arm/plat-mxc/include/mach/imxfb.h @@ -13,7 +13,8 @@ #define PCR_BPIX_4 (2 << 25) #define PCR_BPIX_8 (3 << 25) #define PCR_BPIX_12 (4 << 25) -#define PCR_BPIX_16 (4 << 25) +#define PCR_BPIX_16 (5 << 25) +#define PCR_BPIX_18 (6 << 25) #define PCR_PIXPOL (1 << 24) #define PCR_FLMPOL (1 << 23) #define PCR_LPPOL (1 << 22) |