diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-03-18 10:29:31 (GMT) |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-08-07 10:10:56 (GMT) |
commit | f497d0153a6b53b4cfd004de5f10b14bf630d852 (patch) | |
tree | c541967f2612fb28402a4bab3609462856da3ac5 /arch/arm/plat-mxc/include | |
parent | 9b0e6db0da1ea433f38b8d952108746f3fc67304 (diff) | |
download | linux-fsl-qoriq-f497d0153a6b53b4cfd004de5f10b14bf630d852.tar.xz |
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')
-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 9f01011..66259f6 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) |