Author: wmb Date: 2007-04-30 18:41:48 +0200 (Mon, 30 Apr 2007) New Revision: 337
Modified: dev/olpc/cafenand/cafenand.fth Log: OLPC CaFe NAND driver - fixed typo in previous checkin.
Modified: dev/olpc/cafenand/cafenand.fth =================================================================== --- dev/olpc/cafenand/cafenand.fth 2007-04-29 19:32:48 UTC (rev 336) +++ dev/olpc/cafenand/cafenand.fth 2007-04-30 16:41:48 UTC (rev 337) @@ -85,7 +85,7 @@ : >cmd ( cmd# #nonmem #address-bytes -- cmdval ) dup if 1- d# 27 lshift h# 4000.0000 or then ( cmd# #nm adr-field ) over 1 and d# 20 lshift or \ #nm[0] ( cmd# #nm adr+nm0 ) - swap e and d# 21 lshift or \ #nm[3:1] ( cmd# adr+nm ) + swap h# e and d# 21 lshift or \ #nm[3:1] ( cmd# adr+nm ) or h# 8000.0000 or ;
@@ -147,7 +147,7 @@ write-enable dma-off set-page dup datalen ( adr len ) chip h# 2000 + swap move ( ) - write-cmd h# 0000.0110 cmd wait-cmd ( ) No Auto ECC + write-cmd h# 0000.0110 cmd wait-cmd ( ) \ No Auto ECC wait-write-done write-disable ;