Incremental update to STM32 MMCSD driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2246 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
7088acf110
commit
105fa683df
@ -431,14 +431,14 @@ static void stm32_sendcmd(FAR struct sdio_dev_s *dev, uint32 cmd,
|
||||
|
||||
putreg32(arg, STM32_SDIO_ARG);
|
||||
|
||||
/* Clear CMDINDEX, WAITRESP, WAITINT, WAITPEND, CPSMEN bits */
|
||||
/* Clear CMDINDEX, WAITRESP, WAITINT, WAITPEND, and CPSMEN bits */
|
||||
|
||||
regval = getreg32(STM32_SDIO_CMD);
|
||||
regval &= ~(SDIO_CMD_CMDINDEX_MASK|SDIO_CMD_WAITRESP_MASK|
|
||||
SDIO_CMD_WAITINT|SDIO_CMD_WAITPEND|SDIO_CMD_CPSMEN);
|
||||
|
||||
/* Set WAITRESP bits */
|
||||
#warning VERIFY
|
||||
|
||||
switch ((cmd & MMCSD_RESPONSE_MASK) >> MMCSD_RESPONSE_SHIFT)
|
||||
{
|
||||
case MMCSD_NO_RESPONSE:
|
||||
|
Loading…
Reference in New Issue
Block a user