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

static void send_prog_page ( u8  buf_id  )  [static]

This function requests the NFC to initate the transfer of data currently in the NFC RAM buffer to the NAND device.

buf_id Specify Internal RAM Buffer number

Definition at line 418 of file mxc_nd2.c.

References NFC_INPUT, and wait_op_done().

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

      /* set ram buffer id */

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

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

Generated by  Doxygen 1.6.0   Back to index