Author: wmb Date: 2009-12-09 16:03:46 +0100 (Wed, 09 Dec 2009) New Revision: 1559
Modified: cpu/x86/pc/olpc/via/devices.fth Log: Via - fixed a bug in uncache-flash - it didn't work at all.
Modified: cpu/x86/pc/olpc/via/devices.fth =================================================================== --- cpu/x86/pc/olpc/via/devices.fth 2009-12-09 13:15:52 UTC (rev 1558) +++ cpu/x86/pc/olpc/via/devices.fth 2009-12-09 15:03:46 UTC (rev 1559) @@ -216,7 +216,7 @@ : stand-init-io stand-init-io h# fff0.0000 to flash-base ; warning !
-: uncache-flash ( -- ) h# 202 msr@ h# ff invert and h# 202 msr! ; +: uncache-flash ( -- ) h# 202 msr@ swap h# ff invert and swap h# 202 msr! ;
fload ${BP}/dev/olpc/spiflash/spiif.fth \ Generic low-level SPI bus access fload ${BP}/dev/olpc/spiflash/spiflash.fth \ SPI FLASH programming