Rocket's DMA slave interface (and/or internal routing) currently
appears unable to route DMA writes from LiteSDCard at frequencies
above 25MHz (as tested on nexys4ddr, with Rocket, at 75MHz main
system clock frequency).
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
#endif
#ifndef SDCARD_CLK_FREQ
#endif
#ifndef SDCARD_CLK_FREQ
-#define SDCARD_CLK_FREQ 50000000
+#define SDCARD_CLK_FREQ 25000000
#endif
unsigned int sdcard_response[SD_CMD_RESPONSE_SIZE/4];
#endif
unsigned int sdcard_response[SD_CMD_RESPONSE_SIZE/4];