Skip to content
Commit e1edf18b authored by Cedric Le Goater's avatar Cedric Le Goater Committed by Benjamin Herrenschmidt
Browse files

offb: Add palette hack for little endian



The pseudo palette color entries need to be ajusted for little
endian.

This patch byteswaps the values in the pseudo palette depending
on the host endian order and the screen depth.

Signed-off-by: default avatarCédric Le Goater <clg@fr.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 212c0cbd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment