diff --git a/sdhc.c b/sdhc.c index a74a329..4729269 100644 --- a/sdhc.c +++ b/sdhc.c @@ -131,7 +131,7 @@ void sdhc_read_data(struct sdhc_host *, u_char *, int); void sdhc_write_data(struct sdhc_host *, u_char *, int); //#define SDHC_DEBUG 1 #ifdef SDHC_DEBUG -int sdhcdebug = 2; +int sdhcdebug = 0; #define DPRINTF(n,s) do { if ((n) <= sdhcdebug) gecko_printf s; } while (0) void sdhc_dump_regs(struct sdhc_host *); #else @@ -460,7 +460,7 @@ sdhc_exec_command(struct sdhc_host *hp, struct sdmmc_command *cmd) return; } - gecko_printf("command_complete, continuing...\n"); +// gecko_printf("command_complete, continuing...\n"); /* * The host controller removes bits [0:7] from the response @@ -618,7 +618,7 @@ sdhc_transfer_data(struct sdhc_host *hp, struct sdmmc_command *cmd) } if (ISSET(status, SDHC_TRANSFER_COMPLETE)) { - gecko_printf("got a TRANSFER_COMPLETE: %08x\n", status); +// gecko_printf("got a TRANSFER_COMPLETE: %08x\n", status); break; } if (ISSET(status, SDHC_DMA_INTERRUPT)) { diff --git a/sdmmc.c b/sdmmc.c index 70e9198..e4b1dbc 100644 --- a/sdmmc.c +++ b/sdmmc.c @@ -313,7 +313,7 @@ int sdmmc_read(u32 blk_start, u32 blk_count, void *data) { struct sdmmc_command cmd; - gecko_printf("%s(%u, %u, %p)\n", __FUNCTION__, blk_start, blk_count, data); +// gecko_printf("%s(%u, %u, %p)\n", __FUNCTION__, blk_start, blk_count, data); if (card.inserted == 0) { gecko_printf("sdmmc: READ: no card inserted.\n"); return -1;