diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-12-20 16:22:19 +0100 |
---|---|---|
committer | Thomas Huth <thuth@linux.vnet.ibm.com> | 2011-12-20 17:56:48 +0100 |
commit | 9b89b284cbeeca4ca9f299671205ccae948d0cc5 (patch) | |
tree | 0297860e26ccc7563202945756c4e0528fb69ebb /board-qemu/slof/tree.fs | |
parent | 2fed5652819ad26627a89f0cd7c142fd33899416 (diff) | |
download | SLOF-9b89b284cbeeca4ca9f299671205ccae948d0cc5.zip SLOF-9b89b284cbeeca4ca9f299671205ccae948d0cc5.tar.gz SLOF-9b89b284cbeeca4ca9f299671205ccae948d0cc5.tar.bz2 |
Add support for qemu standard VGA
Simple framebuffer support for the standard VGA display provided by QEMU.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Diffstat (limited to 'board-qemu/slof/tree.fs')
-rw-r--r-- | board-qemu/slof/tree.fs | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/board-qemu/slof/tree.fs b/board-qemu/slof/tree.fs index 4dffb1a..d064aea 100644 --- a/board-qemu/slof/tree.fs +++ b/board-qemu/slof/tree.fs @@ -53,6 +53,10 @@ device-end ; fixup-tbfreq +4d0 cp + +include fbuffer.fs + 500 cp : populate-vios ( -- ) @@ -158,16 +162,3 @@ s" /mmu" open-dev encode-int s" mmu" set-chosen #include <term-io.fs> -: set-default-console - s" linux,stdout-path" get-chosen IF - decode-string - ." Using default console: " 2dup type cr - io - 2drop - ELSE - " hvterm" find-alias IF drop - " hvterm" io - THEN - THEN -; -set-default-console |