[commit] r1039 - trunk/openbios-devel/arch/sparc32

Author: mcayland Date: Sun May 8 17:36:59 2011 New Revision: 1039 URL: http://tracker.coreboot.org/trac/openbios/changeset/1039 Log: Fix the Forth boot word if the current package is not /chosen under SPARC32. Ensure that we deselect the current package before defining the platform-specific boot words so that they are created in the global dictionary and not the current instance dictionary. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> Modified: trunk/openbios-devel/arch/sparc32/openbios.c Modified: trunk/openbios-devel/arch/sparc32/openbios.c ============================================================================== --- trunk/openbios-devel/arch/sparc32/openbios.c Sat May 7 00:35:59 2011 (r1038) +++ trunk/openbios-devel/arch/sparc32/openbios.c Sun May 8 17:36:59 2011 (r1039) @@ -922,13 +922,15 @@ push_str("boot-device"); fword("property"); + device_end(); + + bind_func("platform-boot", boot ); + bind_func("(go)", go ); + /* Set up other properties */ push_str("/chosen"); fword("find-device"); - bind_func("platform-boot", boot ); - bind_func("(go)", go ); - setup_uuid(); }
participants (1)
-
repository service