[OpenBIOS] [commit] r1343 - trunk/openbios-devel/arch/ppc/qemu
repository service
svn at openbios.org
Sun Jun 21 20:52:42 CEST 2015
Author: mcayland
Date: Sun Jun 21 20:52:42 2015
New Revision: 1343
URL: http://tracker.coreboot.org/trac/openbios/changeset/1343
Log:
ppc: add ROM node to device tree
This patch adds a ROM node to the PPC device tree as is required by Mac OS 9.
Based on a patch by John Arbuckle <programmingkidx at gmail.com>
Signed-off-by: Cormac O'Brien <i.am.cormac.obrien at gmail.com>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
Modified:
trunk/openbios-devel/arch/ppc/qemu/tree.fs
Modified: trunk/openbios-devel/arch/ppc/qemu/tree.fs
==============================================================================
--- trunk/openbios-devel/arch/ppc/qemu/tree.fs Sun Jun 21 20:52:38 2015 (r1342)
+++ trunk/openbios-devel/arch/ppc/qemu/tree.fs Sun Jun 21 20:52:42 2015 (r1343)
@@ -42,6 +42,14 @@
: close ;
finish-device
+new-device
+ " rom" device-name
+ h# ff800000 encode-int 0 encode-int encode+ " reg" property
+ 1 encode-int " #address-cells" property
+ h# ff800000 encode-int h# 800000 encode-int encode+
+ h# ff800000 encode-int encode+ " ranges" property
+finish-device
+
\ -------------------------------------------------------------
\ /packages
\ -------------------------------------------------------------
More information about the OpenBIOS
mailing list