[OLPC-devel] Flash driver status.

David Woodhouse dwmw2 at infradead.org
Tue May 16 05:57:45 EDT 2006


On Mon, 2006-05-15 at 20:48 -0600, Ronald G Minnich wrote:
> david, as of rev. 2306, your code is in to enable IDE NAND FLASH. output 
> fragment looks like this:
> 
> southbridge_enable: dev is 0000dcc0
> southbridge_enable: enable_ide_nand_flash is 1
> cs5536: enable_ide_nand_flash
> MDD_LBAR_FLSH0 was 0x0000000000000000
> MDD_LBAR_FLSH0 is 0xfffff00720000000
> MDD_PIN_OPT was 0x0000000000000f7d
> MDD_LBAR_FLSH0 is 0x0000000000000f7c
> MDD_NANDF_DATA was 0x0000000007770777
> MDD_NANDF_DATA is 0x0000000001110111
> MDD_NADF_CNTL was 0x0000000000000777
> MDD_NADF_CNTL is 0x0000000000000111
> cs5536: EXIT enable_ide_nand_flash
> 
> Is this what you want? The names of the MSR's changed to the AMD names.

Looks good to me. The 0x20000000 was just a number I pulled out of a hat
-- feel free to tie that in with normal resource allocation if
appropriate. The driver checks the MSR and will cope.

> FILO still doesn't see and IDE drive -- should it?

It shouldn't. There is no IDE here; only the NAND flash.

-- 
dwmw2




More information about the Devel mailing list