aboutsummaryrefslogtreecommitdiff
path: root/board-qemu/slof
diff options
context:
space:
mode:
authorThomas Huth <thuth@linux.vnet.ibm.com>2012-04-25 19:29:07 +0200
committerThomas Huth <thuth@linux.vnet.ibm.com>2012-04-25 19:29:07 +0200
commit883555382278fb6967661c48b0847e37eceddf4b (patch)
tree0d654401e0e196ea543480187055754895dac082 /board-qemu/slof
parent5c79eb0c59d7335d89650c6eb0f3ee4a1bfecd83 (diff)
downloadSLOF-883555382278fb6967661c48b0847e37eceddf4b.zip
SLOF-883555382278fb6967661c48b0847e37eceddf4b.tar.gz
SLOF-883555382278fb6967661c48b0847e37eceddf4b.tar.bz2
Use rtas-start-cpu from common code folder.
No need to redefine rtas-start-cpu in the board-qemu folder again, we can use the function from the common code folder instead. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Diffstat (limited to 'board-qemu/slof')
-rw-r--r--board-qemu/slof/rtas.fs13
1 files changed, 1 insertions, 12 deletions
diff --git a/board-qemu/slof/rtas.fs b/board-qemu/slof/rtas.fs
index 856aa5f..5de3b8a 100644
--- a/board-qemu/slof/rtas.fs
+++ b/board-qemu/slof/rtas.fs
@@ -80,18 +80,7 @@ find-qemu-rtas
;
#include <rtas/rtas-reboot.fs>
-
-: rtas-start-cpu ( pid loc r3 -- status )
- " start-cpu" rtas-get-token rtas-cb rtas>token l!
- 3 rtas-cb rtas>nargs l!
- 1 rtas-cb rtas>nret l!
- rtas-cb rtas>args2 l!
- rtas-cb rtas>args1 l!
- rtas-cb rtas>args0 l!
- 0 rtas-cb rtas>args3 l!
- enter-rtas
- rtas-cb rtas>args3 l@
-;
+#include <rtas/rtas-cpu.fs>
: rtas-set-tce-bypass ( unit enable -- )
" ibm,set-tce-bypass" rtas-get-token rtas-cb rtas>token l!