Home
last modified time | relevance | path

Searched hist:"3 d0f30bb544a6b4a0c4766a6c31169419db4090e" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/include/drivers/synopsys/
H A Ddw_mmc.h3d0f30bb544a6b4a0c4766a6c31169419db4090e Tue Mar 12 06:36:19 UTC 2019 Tien Hock, Loh <tien.hock.loh@intel.com> drivers: synopsys: Fix synopsys MMC driver

There are some issues with synopsys MMC driver:
- CMD8 should not expect data (for SD)
- ACMD51 should expect data (Send SCR for SD)
- dw_prepare should not dictate size to be MMC_BLOCK_SIZE, block size is
now handled in the dw_prepare function
- after the CMD completes, when doing dw_read, we need to invalidate cache
and wait for the data transfer to complete
- Need to set FIFO threshold, otherwise DMA might never get the interrupt
to read or write

Signed-off-by: Tien Hock, Loh <tien.hock.loh@intel.com>
/rk3399_ARM-atf/drivers/synopsys/emmc/
H A Ddw_mmc.c3d0f30bb544a6b4a0c4766a6c31169419db4090e Tue Mar 12 06:36:19 UTC 2019 Tien Hock, Loh <tien.hock.loh@intel.com> drivers: synopsys: Fix synopsys MMC driver

There are some issues with synopsys MMC driver:
- CMD8 should not expect data (for SD)
- ACMD51 should expect data (Send SCR for SD)
- dw_prepare should not dictate size to be MMC_BLOCK_SIZE, block size is
now handled in the dw_prepare function
- after the CMD completes, when doing dw_read, we need to invalidate cache
and wait for the data transfer to complete
- Need to set FIFO threshold, otherwise DMA might never get the interrupt
to read or write

Signed-off-by: Tien Hock, Loh <tien.hock.loh@intel.com>