Author: wmb Date: 2007-08-30 23:20:40 +0200 (Thu, 30 Aug 2007) New Revision: 586
Modified: dev/geode/nandflash/nand5536.fth Log: OLPC - Synchronized CS5536 NAND FLASH driver with recent changes to CaFe NAND driver.
Modified: dev/geode/nandflash/nand5536.fth =================================================================== --- dev/geode/nandflash/nand5536.fth 2007-08-30 20:13:18 UTC (rev 585) +++ dev/geode/nandflash/nand5536.fth 2007-08-30 21:20:40 UTC (rev 586) @@ -97,6 +97,8 @@ handle-ecc ( ) stp ; +h# 800 buffer: page-buf +: get-page ( page# -- adr ) page-buf swap read-page page-buf ;
: read-id ( -- adr ) h# 90 cmd \ Read-id command