[openfirmware] [commit] r1755 - cpu/x86/pc/olpc/via

repository service svn at openfirmware.info
Thu Feb 18 19:56:44 CET 2010


Author: wmb
Date: Thu Feb 18 19:56:43 2010
New Revision: 1755
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/1755

Log:
OLPC trac 10026 - menu test leaves current device set to last-executed test.

Modified:
   cpu/x86/pc/olpc/via/mfgtest.fth

Modified: cpu/x86/pc/olpc/via/mfgtest.fth
==============================================================================
--- cpu/x86/pc/olpc/via/mfgtest.fth	Thu Feb 18 19:36:21 2010	(r1754)
+++ cpu/x86/pc/olpc/via/mfgtest.fth	Thu Feb 18 19:56:43 2010	(r1755)
@@ -30,9 +30,9 @@
 
 : mfg-test-dev  ( $ -- )
    restore-scroller
-   find-device
-   ??cr ." Testing "  pwd
-   " selftest" current-device execute-phandle-method  ( return abort? )
+   ??cr  ." Testing " 2dup type cr
+   locate-device  if  ." Can't find device node" cr  exit  then  ( phandle )
+   " selftest" rot execute-phandle-method            ( return abort? )
    if
       ?dup  if
          ??cr ." Selftest failed. Return code = " .d cr



More information about the openfirmware mailing list