j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: wmb Date: 2008-02-01 05:07:00 +0100 (Fri, 01 Feb 2008) New Revision: 807
Modified: dev/olpc/cafenand/selftest.fth Log: OLPC CaFe NAND driver - changed the name of the "erase" selftest method to "erase!" because there is a standard Forth word named "erase".
Modified: dev/olpc/cafenand/selftest.fth =================================================================== --- dev/olpc/cafenand/selftest.fth 2008-02-01 04:05:35 UTC (rev 806) +++ dev/olpc/cafenand/selftest.fth 2008-02-01 04:07:00 UTC (rev 807) @@ -133,7 +133,7 @@ ;
\ Destroy content of flash. No argument. -: erase ( subarg$ -- ) 2drop ." Erasing..." cr wipe ; +: erase! ( subarg$ -- ) 2drop ." Erasing..." cr wipe ;
\ Destroy content of flash. Argument is hex byte pattern value. : .skip-bad ( page# -- ) (cr ." Skip bad block" .page-byte cr ; @@ -249,7 +249,7 @@ ." <arg> can be one of the following:" cr ." none to do nothing" cr ." help to get this usage guide" cr - ." erase to erase the flash (destructive)" cr + ." erase! to erase the flash (destructive)" cr ." fill[,<data>] to fill the flash with hex byte pattern <data> (destructive)" cr ." Default <data> is 00" cr ." fast[,<#blk>] to non-destructively test the specified <#blk> of flash" cr