/* Set the block size and count for data transfer */
void SDHostBlockCountSet(unsigned long ulBase, unsigned short ulBlkCount)
/* Set the block size and count for data transfer */
void SDHostBlockCountSet(unsigned long ulBase, unsigned short ulBlkCount)
{
  unsigned long ulRegVal;
  ulRegVal = HWREG(ulBase + MMCHS_O_BLK);
  HWREG(ulBase + MMCHS_O_BLK) = ((ulRegVal & 0x0000FFFF)|
                                  (ulBlkCount << 16));
}