lib/sw_services/xilflash/src/xilflash_amd.c
static void EnterExtendedBlockMode(XFlash * InstancePtr)
{
	XFlashVendorData_Amd *DevDataPtr;

	DevDataPtr = GET_PARTDATA(InstancePtr);

	/*
	 * Issue Enter Extended Block Command.
	 */
	DevDataPtr->SendCmdSeq(InstancePtr->Geometry.BaseAddress,
				XFL_AMD_CMD1_ADDR, XFL_AMD_CMD2_ADDR,
				XFL_AMD_CMD1_DATA, XFL_AMD_CMD2_DATA);

	DevDataPtr->SendCmd(InstancePtr->Geometry.BaseAddress,
				XFL_AMD_CMD1_ADDR,
				XFL_AMD_CMD_ENTER_EXT_MODE);
}
/*****************************************************************************/
/**
*
* This function will make the device to enter into Extended Block Mode, where
* the Extended Block can be read and written, using the Boot block addresses.
*
* @param	InstancePtr is the pointer to the XFlash instance.
*
* @return
*		None.
*
* @note		None.
*
******************************************************************************/
This function will make the device to enter into Extended Block Mode, where
the Extended Block can be read and written, using the Boot block addresses.
This function will make the device to enter into Extended Block Mode where the Extended Block can be read and written using the Boot block addresses .
static void EnterExtendedBlockMode(XFlash * InstancePtr)
{
	XFlashVendorData_Amd *DevDataPtr;
	DevDataPtr = GET_PARTDATA(InstancePtr);
	DevDataPtr->SendCmdSeq(InstancePtr->Geometry.BaseAddress,
				XFL_AMD_CMD1_ADDR, XFL_AMD_CMD2_ADDR,
				XFL_AMD_CMD1_DATA, XFL_AMD_CMD2_DATA);
	DevDataPtr->SendCmd(InstancePtr->Geometry.BaseAddress,
				XFL_AMD_CMD1_ADDR,
				XFL_AMD_CMD_ENTER_EXT_MODE);
}
static void EnterExtendedBlockMode ( XFlash * InstancePtr ) { XFlashVendorData_Amd * DevDataPtr ; DevDataPtr = GET_PARTDATA ( InstancePtr ) ; DevDataPtr -> SendCmdSeq ( InstancePtr -> Geometry . BaseAddress , XFL_AMD_CMD1_ADDR , XFL_AMD_CMD2_ADDR , XFL_AMD_CMD1_DATA , XFL_AMD_CMD2_DATA ) ; DevDataPtr -> SendCmd ( InstancePtr -> Geometry . BaseAddress , XFL_AMD_CMD1_ADDR , XFL_AMD_CMD_ENTER_EXT_MODE ) ; }
This function will make the device to enter into Extended Block Mode, where
the Extended Block can be read and written, using the Boot block addresses.
This function will make the device to enter into Extended Block Mode where the Extended Block can be read and written using the Boot block addresses .
/*
	 * Issue Enter Extended Block Command.
	 */