commit | e1edf18b20076da83dd231dbd2146cbbc31c0b14 | [log] [tgz] |
---|---|---|
author | Cedric Le Goater <clg@fr.ibm.com> | Wed Dec 04 17:49:52 2013 +0100 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Dec 10 11:25:07 2013 +1100 |
tree | 6e5e18f89477bb201cde20f37c98d1a657790c37 | |
parent | 212c0cbd5be721a39ef3e2f723e0c78008f9e955 [diff] |
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: Cédric Le Goater <clg@fr.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>