diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-01-10 22:40:05 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2012-01-11 11:54:23 +1100 |
commit | 3a7cb8581e6fdee844d51f13c89102975a4c2529 (patch) | |
tree | 253dad95a8408963e33b5049a2a59245139dda9a | |
parent | 2896f6cf73f351e1614f667cd15d21e26af1566b (diff) | |
download | SLOF-3a7cb8581e6fdee844d51f13c89102975a4c2529.zip SLOF-3a7cb8581e6fdee844d51f13c89102975a4c2529.tar.gz SLOF-3a7cb8581e6fdee844d51f13c89102975a4c2529.tar.bz2 |
vga: support for 15bpp
This is the default in qemu now
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r-- | board-qemu/slof/pci-device_1234_1111.fs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/board-qemu/slof/pci-device_1234_1111.fs b/board-qemu/slof/pci-device_1234_1111.fs index 0360102..6b3e85c 100644 --- a/board-qemu/slof/pci-device_1234_1111.fs +++ b/board-qemu/slof/pci-device_1234_1111.fs @@ -202,6 +202,7 @@ a CONSTANT VBE_DISPI_INDEX_NB s" qemu,graphic-depth" get-chosen IF decode-int nip nip dup 8 = + over f = or over 10 = or over 20 = or IF to disp-depth @@ -240,7 +241,7 @@ a CONSTANT VBE_DISPI_INDEX_NB \ Shouldn't this be done from open ? disp-width encode-int s" width" property disp-height encode-int s" height" property - disp-width disp-depth 8 / * encode-int s" linebytes" property + disp-width disp-depth 7 + 8 / * encode-int s" linebytes" property disp-depth encode-int s" depth" property s" ISO8859-1" encode-string s" character-set" property \ i hope this is ok... \ add "device_type" property @@ -263,7 +264,7 @@ a CONSTANT VBE_DISPI_INDEX_NB set-font disp-width disp-height disp-width char-width / disp-height char-height / - disp-depth 8 / ( width height #lines #cols depth ) + disp-depth 7 + 8 / ( width height #lines #cols depth ) fb-install true to is-installed? THEN |