XilinxProcessorIPLib/drivers/nandps/src/xnandps_onfi.c
static void Onfi_CmdReset(XNandPs *InstancePtr)
{
	u8 Status;

	XNandPs_SendCommand(InstancePtr, &OnfiCommands[RESET],
			XNANDPS_PAGE_NOT_VALID, XNANDPS_COLUMN_NOT_VALID);

	/*
	 * Check the Status Register SR[6]
	 */
	do {
		Status = Onfi_CmdReadStatus(InstancePtr);
	}while ((Status & ONFI_STATUS_RDY) != ONFI_STATUS_RDY);
}
/**************************************************************************/
/**
*
* This function sends reset command to the flash device.
*
* @param	InstancePtr is a pointer to the XNandPs instance.
*
* @return	None
*
* @note		None
*
***************************************************************************/
This function sends reset command to the flash device.
This function sends reset command to the flash device .
static void Onfi_CmdReset(XNandPs *InstancePtr)
{
	u8 Status;
	XNandPs_SendCommand(InstancePtr, &OnfiCommands[RESET],
			XNANDPS_PAGE_NOT_VALID, XNANDPS_COLUMN_NOT_VALID);
	do {
		Status = Onfi_CmdReadStatus(InstancePtr);
	}while ((Status & ONFI_STATUS_RDY) != ONFI_STATUS_RDY);
}
static void Onfi_CmdReset ( XNandPs * InstancePtr ) { u8 Status ; XNandPs_SendCommand ( InstancePtr , & OnfiCommands [ RESET ] , XNANDPS_PAGE_NOT_VALID , XNANDPS_COLUMN_NOT_VALID ) ; do { Status = Onfi_CmdReadStatus ( InstancePtr ) ; } while ( ( Status & ONFI_STATUS_RDY ) != ONFI_STATUS_RDY ) ; }
This function sends reset command to the flash device.
This function sends reset command to the flash device .
/*
	 * Check the Status Register SR[6]
	 */