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

static u_char mxc_nand_read_byte16 ( struct mtd_info *  mtd  )  [static]

This function reads byte from the NAND Flash

mtd MTD structure for the NAND Flash
data read from the NAND Flash

Definition at line 702 of file mxc_nd2.c.

References get_dev_status(), and mxc_nand_read_word().

Referenced by mxcnd_probe().

      /* Check for status request */
      if (g_nandfc_info.bStatusRequest) {
            return (get_dev_status() & 0xFF);

      return mxc_nand_read_word(mtd) & 0xFF;

Generated by  Doxygen 1.6.0   Back to index