summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-09-02 12:55:02 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-09-02 16:59:13 +0000
commitf913829d06f706e0f7df3b791835edd41fc487c4 (patch)
tree6cb5ee38a3e6fcd4ea9fe334e848003c73b3f7ff /firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c
parent1a8939cc3d236bc143c8d31e9b46b4b763b95bbb (diff)
downloadrockbox-f913829d06f706e0f7df3b791835edd41fc487c4.tar.gz
rockbox-f913829d06f706e0f7df3b791835edd41fc487c4.zip
xduoox3: Disable the LCD and MSC0 clocks as we don't use them
Change-Id: If2261aed464fcbe3ea1f036dd18376fa8ff42e69
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c
index 8da1313cf8..55ffecce09 100644
--- a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c
+++ b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c
@@ -1335,6 +1335,7 @@ int sd_init(void)
1335 1335
1336 if(!inited) 1336 if(!inited)
1337 { 1337 {
1338 __cpm_stop_msc0(); /* We don't use MSC0 */
1338 1339
1339#if SD_DMA_INTERRUPT || SD_INTERRUPT 1340#if SD_DMA_INTERRUPT || SD_INTERRUPT
1340 semaphore_init(&sd_wakeup[SD_SLOT_1], 1, 0); 1341 semaphore_init(&sd_wakeup[SD_SLOT_1], 1, 0);