mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
sdm32h7: enable sdmmc hardware flow control
Hardware flow control prevents FIFO underruns/overruns by stopping the bus clock if one would occur. This can slow down transfers, but that's better than having data transfer fail due to AXI/AHB bus contention. Change-Id: I8696d3aff78c17dbbe85907160fa37fd4ee11e85
This commit is contained in:
parent
5442622d88
commit
a74ee4c04f
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ void stm32h7_sdmmc_set_power_enabled(void *controller, bool enabled)
|
|||
udelay(200);
|
||||
|
||||
/* Automatically stop clock when bus is not in use */
|
||||
reg_writelf(ctl->regs, SDMMC_CLKCR, PWRSAV(1));
|
||||
reg_writelf(ctl->regs, SDMMC_CLKCR, PWRSAV(1), HWFC_EN(1));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue