diff options
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r-- | firmware/target/arm/as3525/sd-as3525.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525.c b/firmware/target/arm/as3525/sd-as3525.c index 86286fa985..70e0778d2b 100644 --- a/firmware/target/arm/as3525/sd-as3525.c +++ b/firmware/target/arm/as3525/sd-as3525.c | |||
@@ -229,7 +229,9 @@ static void enable_controller(bool on, const int drive) | |||
229 | CGU_IDE &= ~(IDE_INTERFACE_CLK); /* interface disable */ | 229 | CGU_IDE &= ~(IDE_INTERFACE_CLK); /* interface disable */ |
230 | bitclr32(&CGU_PERI, CGU_NAF_CLOCK_ENABLE); | 230 | bitclr32(&CGU_PERI, CGU_NAF_CLOCK_ENABLE); |
231 | } | 231 | } |
232 | #endif | 232 | #else |
233 | (void) on; | ||
234 | #endif /* ndef BOOTLOADER */ | ||
233 | } | 235 | } |
234 | #if defined(HAVE_MULTIDRIVE) || defined(HAVE_HOTSWAP) | 236 | #if defined(HAVE_MULTIDRIVE) || defined(HAVE_HOTSWAP) |
235 | else | 237 | else |
@@ -1002,4 +1004,3 @@ int sd_event(long id, intptr_t data) | |||
1002 | 1004 | ||
1003 | return rc; | 1005 | return rc; |
1004 | } | 1006 | } |
1005 | |||