summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/tms320dm320/sdmmc-dm320.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/tms320dm320/sdmmc-dm320.c b/firmware/target/arm/tms320dm320/sdmmc-dm320.c
index d989330230..2a7e1739eb 100644
--- a/firmware/target/arm/tms320dm320/sdmmc-dm320.c
+++ b/firmware/target/arm/tms320dm320/sdmmc-dm320.c
@@ -68,7 +68,7 @@
68#define EC_CRC_ERROR 15 68#define EC_CRC_ERROR 15
69#define NUM_EC 16 69#define NUM_EC 16
70 70
71#define MIN_YIELD_PERIOD 1000 71#define MIN_YIELD_PERIOD 5
72#define UNALIGNED_NUM_SECTORS 10 72#define UNALIGNED_NUM_SECTORS 10
73#define MAX_TRANSFER_ERRORS 10 73#define MAX_TRANSFER_ERRORS 10
74 74
@@ -899,7 +899,7 @@ int sd_init(void)
899 899
900 /* mmc module clock: 75 Mhz (AHB) / 2 = ~37.5 Mhz 900 /* mmc module clock: 75 Mhz (AHB) / 2 = ~37.5 Mhz
901 * (Frequencies above are taken from Sansa Connect's OF source code) */ 901 * (Frequencies above are taken from Sansa Connect's OF source code) */
902 IO_CLK_DIV3 = (IO_CLK_DIV3 & 0xFF00) | 0x01; 902 IO_CLK_DIV3 = (IO_CLK_DIV3 & 0xFF00) | 0x02; /* OF uses 1 */
903 903
904 bitset16(&IO_CLK_MOD2, CLK_MOD2_MMC); 904 bitset16(&IO_CLK_MOD2, CLK_MOD2_MMC);
905 905