#17 Fix if CONFIG_SDIO_BLOCKSETUP defined, OS will crash. From CCTSAO

This commit is contained in:
Gregory Nutt 2013-08-26 08:54:46 -06:00
parent 65c32bea59
commit 03ad60426d
2 changed files with 7 additions and 0 deletions

View File

@ -5453,4 +5453,8 @@
* fs/romfs/fs_romfsutil.c: Fix an error where long (>15) file names
were read incorrectly from a ROMFS file system. From Mike Smit
(2013-8-25).
* arch/arm/src/stm32/stm32_sdio.c: SourceForge bug #17 Fix if
CONFIG_SDIO_BLOCKSETUP defined, OS will crash". Generate an error
if CONFIG_SDIO_BLOCKSETUP is defined; that option is not yet supported
by the STM32 SDIO driver. From CCTSAO (2013-6-26)

View File

@ -481,6 +481,9 @@ struct stm32_dev_s g_sdiodev =
.clock = stm32_clock,
.attach = stm32_attach,
.sendcmd = stm32_sendcmd,
#ifdef CONFIG_SDIO_BLOCKSETUP
.blocksetup = stm32_blocksetup, /* Not implemented yet */
#endif
.recvsetup = stm32_recvsetup,
.sendsetup = stm32_sendsetup,
.cancel = stm32_cancel,