bcm47xxnflash.h 432 B

1234567891011121314151617181920212223242526
  1. #ifndef __BCM47XXNFLASH_H
  2. #define __BCM47XXNFLASH_H
  3. #ifndef pr_fmt
  4. #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
  5. #endif
  6. #include <linux/mtd/mtd.h>
  7. #include <linux/mtd/nand.h>
  8. struct bcm47xxnflash {
  9. struct bcma_drv_cc *cc;
  10. struct nand_chip nand_chip;
  11. unsigned curr_command;
  12. int curr_page_addr;
  13. int curr_column;
  14. u8 id_data[8];
  15. };
  16. int bcm47xxnflash_ops_bcm4706_init(struct bcm47xxnflash *b47n);
  17. #endif /* BCM47XXNFLASH */