j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Apple calls the root node of the device tree "device-tree" and MorphOS relies on this to decide what properties to get. Make it happy.
Signed-off-by: BALATON Zoltan balaton@eik.bme.hu ---
v2: Do this from Forth for all qemu-ppc as requested in review --- openbios-devel/arch/ppc/qemu/tree.fs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/openbios-devel/arch/ppc/qemu/tree.fs b/openbios-devel/arch/ppc/qemu/tree.fs index 1b9c293..1ed8383 100644 --- a/openbios-devel/arch/ppc/qemu/tree.fs +++ b/openbios-devel/arch/ppc/qemu/tree.fs @@ -12,7 +12,8 @@ include config.fs \ -------------------------------------------------------------
" /" find-device - +\ Apple calls the root node device-tree +" device-tree" device-name [IFDEF] CONFIG_PPC64 2 [ELSE] 1 [THEN] encode-int " #address-cells" property 1 encode-int " #size-cells" property h# 05f5e100 encode-int " clock-frequency" property