Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Benjamin Herrenschmidt 441cbd8dac [POWERPC] Fix various offb issues
This patch fixes a few issues in offb:

 - A test was inverted causing the palette hack to never work
(no device node was passed down to the init function)

 - Some cards seem to have their assigned-addresses property in a random
order, thus we need to try using of_get_pci_address() first, which will
fail if it's not a PCI device, and fallback to of_get_address() in that
case. of_get_pci_address() properly parsees assigned-addresses to test
the BAR number and thus will get it right whatever the order is.

 - Some cards (like GXT4500) provide a linebytes of 0xffffffff in the
device-tree which does no good. This patch handles that by using the
screen width when that happens. (Also fixes btext.c while at it).

 - Add detection of the GXT4500 in addition to the GXT2000 for the
palette hacks (we use the same hack, palette is linear in register space
at offset 0x6000).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-11-01 14:52:48 +11:00
..
2006-09-14 10:36:11 +10:00
2006-09-11 13:32:30 -04:00
2006-11-01 14:52:48 +11:00
2006-08-25 14:56:07 +10:00
2006-04-22 18:45:05 +10:00
2006-10-06 21:10:40 +10:00
2006-08-25 14:56:07 +10:00
2006-08-25 14:56:07 +10:00
2006-08-08 17:08:56 +10:00
2006-06-15 19:31:26 +10:00
2006-08-31 15:45:48 +10:00