drivers/mmcsd/mmcsd_sdio.c: Align DMA buffer for MBURST size.
This commit is contained in:
parent
43a3a0f400
commit
29612c40c5
@ -2750,12 +2750,14 @@ static int mmcsd_mmcinitialize(FAR struct mmcsd_state_s *priv)
|
||||
* the correct number of blocks and capacity. Returns OK if ext CSD is read
|
||||
* correctly or error in not.
|
||||
*
|
||||
* Note: buffer[] alignment must correspond with MBURST size
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static int mmcsd_mmcreadextCSD (FAR struct mmcsd_state_s *priv)
|
||||
{
|
||||
int ret;
|
||||
uint8_t buffer[512];
|
||||
uint8_t buffer[512] __attribute__ ((aligned(16)));
|
||||
|
||||
DEBUGASSERT(priv != NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user