Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

static u16 mxc_nand_read_word ( struct mtd_info *  mtd  )  [static]

This function reads word from the NAND Flash

Parameters:
mtd MTD structure for the NAND Flash
Returns:
data read from the NAND Flash

Definition at line 686 of file mxc_nd2.c.

References mxc_nand_read_buf().

{
      u16 ret;

      mxc_nand_read_buf(mtd, (uint8_t *) &ret, sizeof(u16));

      return ret;
}


Generated by  Doxygen 1.6.0   Back to index