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

static void send_read_page ( u8  buf_id  )  [static]

This function requests the NFC to initated the transfer of data from the NAND device into in the NFC ram buffer.

buf_id Specify Internal RAM Buffer number

Definition at line 440 of file mxc_nd2.c.

References NFC_OUTPUT, and wait_op_done().

      DEBUG(MTD_DEBUG_LEVEL3, "%s(%d)\n", __FUNCTION__, buf_id);

      /* set ram buffer id */

      /* transfer data from nand to NFC ram */
      raw_write(NFC_OUTPUT, REG_NFC_OPS);

      /* Wait for operation to complete */
      wait_op_done(TROP_US_DELAY, true);

Generated by  Doxygen 1.6.0   Back to index