lib/sw_services/xilloader/src/xloader_sd.c
int XLoader_RawRelease(void)
{
	int Status = XST_FAILURE;

	XPlmi_Out32(SdCdnReg, SdCdnVal);
	Status = XPm_ReleaseDevice(PM_SUBSYS_PMC, SdDeviceNode,
		XPLMI_CMD_SECURE);

	return Status;
}
/*****************************************************************************/
/**
 * @brief	This function is used to restore the card detect value to
 * PMC_IOU_SLCR registers.
 *
 * @param	None
 *
 * @return	XST_SUCCESS on success always
 *
 ****************************************************************************/
@brief       This function is used to restore the card detect value to
PMC_IOU_SLCR registers.

@param       None

@return      XST_SUCCESS on success always
@brief This function is used to restore the card detect value to PMC_IOU_SLCR registers . @param None @return XST_SUCCESS on success always
int XLoader_RawRelease(void)
{
	int Status = XST_FAILURE;
	XPlmi_Out32(SdCdnReg, SdCdnVal);
	Status = XPm_ReleaseDevice(PM_SUBSYS_PMC, SdDeviceNode,
		XPLMI_CMD_SECURE);
	return Status;
}
int XLoader_RawRelease ( void ) { int Status = XST_FAILURE ; XPlmi_Out32 ( SdCdnReg , SdCdnVal ) ; Status = XPm_ReleaseDevice ( PM_SUBSYS_PMC , SdDeviceNode , XPLMI_CMD_SECURE ) ; return Status ; }
@brief       This function is used to restore the card detect value to
 PMC_IOU_SLCR registers.
@brief This function is used to restore the card detect value to PMC_IOU_SLCR registers .