/* API to send pullup command to card before using DAT line 3(using 4-bit bus)  */
s32 XSdPs_Pullup(XSdPs *InstancePtr)
/* API to send pullup command to card before using DAT line 3(using 4-bit bus)  */
s32 XSdPs_Pullup(XSdPs *InstancePtr)
{
    s32 Status;
    Xil_AssertNonvoid(InstancePtr != NULL);
    Xil_AssertNonvoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
    Status = XSdPs_CmdTransfer(InstancePtr, CMD55,
            InstancePtr->RelCardAddr, 0U);
    if (Status != XST_SUCCESS) {
        Status = XST_FAILURE;
        goto RETURN_PATH;
    }
    Status = XSdPs_CmdTransfer(InstancePtr, ACMD42, 0U, 0U);
    if (Status != XST_SUCCESS) {
        Status = XST_FAILURE;
        goto RETURN_PATH;
    }
    Status = XST_SUCCESS;
    RETURN_PATH:
        return Status;
}