Author: mcayland Date: Sun Jan 2 01:39:04 2011 New Revision: 1011 URL: http://tracker.coreboot.org/trac/openbios/changeset/1011 Log: Register SPARC32 auxio device and correctly encode virtual addresses in the OBIO device tree. Once the auxio device is registered, we must also correct the address properties which currently set a 64-bit rather than a 32-bit property. This fixes error messages related to auxio when attempting to boot a Solaris 8 CD. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> Modified: trunk/openbios-devel/drivers/obio.c Modified: trunk/openbios-devel/drivers/obio.c ============================================================================== --- trunk/openbios-devel/drivers/obio.c Sun Jan 2 01:07:34 2011 (r1010) +++ trunk/openbios-devel/drivers/obio.c Sun Jan 2 01:39:04 2011 (r1011) @@ -75,9 +75,6 @@ PUSH(addr); fword("encode-int"); - PUSH(4); - fword("encode-int"); - fword("encode+"); push_str("address"); fword("property"); return addr; @@ -228,7 +225,7 @@ { ob_new_obio_device("auxio", NULL); - ob_reg(base, offset, AUXIO_REGS, 0); + ob_reg(base, offset, AUXIO_REGS, 1); fword("finish-device"); }
participants (1)
-
repository service