powerpc/86xx: don't pretend that we support 8-bit pixels on the MPC8610 HPCD
authorTimur Tabi <timur@freescale.com>
Mon, 9 May 2011 19:29:40 +0000 (14:29 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 19 May 2011 06:13:53 +0000 (01:13 -0500)
commitf46dad270b7f425d7d4ec08676f2513732d11c2b
tree94c0cf8d35a52515b00e3edf5678b4e69549ea69
parente0be2c21649107282930837f0805c71dfe29e2cc
powerpc/86xx: don't pretend that we support 8-bit pixels on the MPC8610 HPCD

If the video mode is set to 16-, 24-, or 32-bit pixels, then the pixel data
contains actual levels of red, blue, and green.  However, if the video mode
is set to 8-bit pixels, then the 8-bit value represents an index into color
table.  This is called "palette mode" on the Freescale DIU video controller.

The DIU driver does not currently support palette mode, but the MPC8610 HPCD
board file returned a non-zero (although incorrect) pixel format value for
8-bit mode.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/86xx/mpc8610_hpcd.c