summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sd-as3525.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/sd-as3525.c')
-rw-r--r--firmware/target/arm/as3525/sd-as3525.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525.c b/firmware/target/arm/as3525/sd-as3525.c
index 9bfb2a9412..6e5845cf0a 100644
--- a/firmware/target/arm/as3525/sd-as3525.c
+++ b/firmware/target/arm/as3525/sd-as3525.c
@@ -561,9 +561,9 @@ int sd_init(void)
561 | (AS3525_IDE_DIV << 2) 561 | (AS3525_IDE_DIV << 2)
562 | AS3525_CLK_PLLA; /* clock source = PLLA */ 562 | AS3525_CLK_PLLA; /* clock source = PLLA */
563 563
564 CGU_PERI |= CGU_NAF_CLOCK_ENABLE; 564 bitset32(&CGU_PERI, CGU_NAF_CLOCK_ENABLE);
565#ifdef HAVE_MULTIDRIVE 565#ifdef HAVE_MULTIDRIVE
566 CGU_PERI |= CGU_MCI_CLOCK_ENABLE; 566 bitset32(&CGU_PERI, CGU_MCI_CLOCK_ENABLE);
567 CCU_IO &= ~(1<<3); /* bits 3:2 = 01, xpd is SD interface */ 567 CCU_IO &= ~(1<<3); /* bits 3:2 = 01, xpd is SD interface */
568 CCU_IO |= (1<<2); 568 CCU_IO |= (1<<2);
569#endif 569#endif