Generic Platform NAND Driver
Semih Hazar
semih.hazar at indefia.com
Tue May 22 06:28:59 EDT 2007
Vladimir A. Barinov wrote:
> You can look at the first (I guess) usage example here:
> http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=4385/2
>
>
+ixdp425_flash_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl)
+{
+ struct nand_chip *this = mtd->priv;
+ int offset = (int)this->priv;
Here offset is read from nand_chip->priv, which actually points to struct plat_nand_data of plat_nand.c
Am I wrong ?
More information about the linux-mtd
mailing list