AnsweredAssumed Answered

NAND GPIO driver with MTD on BF533

Question asked by seabeam on Dec 18, 2011
Latest reply on Dec 19, 2011 by sonic

hi:

    I've connected NAND Flash pin as follows:

 

          IO[7:0]          ->               D[7:0]

          /CE               ->               PF10

          /RE               ->               /ARE

          /WE              ->               /AWE

          /ALE             ->               PF8

          /CLE             ->               PF9

          /R/B              ->               PF11

          /WP              ->               VCC

 

     Now I need to fill the structure:

     static struct resource bf533_nand_resource = {
          .start = ,
          .end = ,
          .flags = IORESOURCE_MEM,
      };

    

      As we know the PF port doesn't has a certain address, it can be set by FIO_FLAG_D. So my question is, what is the value of the start address and the end address?Why?

 

thanks!

Outcomes