Skip to content

Commit

Permalink
arch: cxd56xx: Add SD card 4-bit capability
Browse files Browse the repository at this point in the history
The mmcsd driver has been updated to require SDIO_CAPS_4BIT to be
explicitly specified for SD card 4-bit support.
  • Loading branch information
SPRESENSE committed Oct 7, 2024
1 parent 3173746 commit bf93fbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/src/cxd56xx/cxd56_sdhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1358,6 +1358,8 @@ static sdio_capset_t cxd56_sdio_capabilities(struct sdio_dev_s *dev)

#ifdef CONFIG_CXD56_SDIO_WIDTH_D1_ONLY
caps |= SDIO_CAPS_1BIT_ONLY;
#else
caps |= SDIO_CAPS_4BIT;
#endif
#ifdef CONFIG_CXD56_SDIO_DMA
caps |= SDIO_CAPS_DMASUPPORTED;
Expand Down

0 comments on commit bf93fbb

Please sign in to comment.