Use ## to create sections (Learn more)
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as
index 995bf93..01c6fe9 100644
@@ -320,7 +320,10 @@ static int sd_init_card(const int drive)
card_info[drive].initialized = 1;
- MCI_CLOCK(drive) |= MCI_CLOCK_BYPASS; /* full speed for controller clock */
+ if(drive == 0)
+ MCI_CLOCK(drive) |= MCI_CLOCK_BYPASS; /* full speed for controller cloc
+ MCI_CLOCK(drive) = MCI_CLOCK_ENABLE | 1; /* 62/(2*(1+1)) = 15.5MHz */
Share the private access URL responsibly.
Anyone will be able to find and view this paste. Google will index it.
All your pastes are belong to us.