aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-01-12 12:29:39 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-01-12 12:31:17 +1100
commitab062ff3b37c39649f2b0d94ed607adc6f6b3c7d (patch)
tree694a8d8aeca2b77196a2a8ddd78820400d551751
parent509185b8124c0fdc75107560b887a315ea916ca6 (diff)
downloadSLOF-qemu-slof-20120112.zip
SLOF-qemu-slof-20120112.tar.gz
SLOF-qemu-slof-20120112.tar.bz2
Fix ram-boot handling of 64-bit addressesqemu-slof-20120112
Hex vs. decimal thinko Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r--board-qemu/slof/OF.fs4
1 files changed, 2 insertions, 2 deletions
diff --git a/board-qemu/slof/OF.fs b/board-qemu/slof/OF.fs
index 504e763..29003e3 100644
--- a/board-qemu/slof/OF.fs
+++ b/board-qemu/slof/OF.fs
@@ -235,8 +235,8 @@ CREATE boot-opd 10 ALLOT
decode-int -rot decode-int -rot ( n1 n2 p s )
decode-int -rot decode-int -rot ( n1 n2 n3 n4 p s )
2drop
- swap 32 << or to direct-ram-boot-size
- swap 32 << or to direct-ram-boot-base
+ swap 20 << or to direct-ram-boot-size
+ swap 20 << or to direct-ram-boot-base
." Detected RAM kernel at " direct-ram-boot-base .
." (" direct-ram-boot-size . ." bytes) "
\ Override the boot-command word without touching the