summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-08-29 21:56:10 -0400
committerSolomon Peachy <pizza@shaftnet.org>2018-09-20 18:59:19 -0400
commit72820d8b2d5ebe8405f8c4833f2ff54fe6324faa (patch)
tree1c9ef29e5b76fbb17f5a9625390cd70277030071 /firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
parent08ab3aea4f43c733af0e78ee306780e2dbb12970 (diff)
downloadrockbox-72820d8b2d5ebe8405f8c4833f2ff54fe6324faa.tar.gz
rockbox-72820d8b2d5ebe8405f8c4833f2ff54fe6324faa.tar.bz2
rockbox-72820d8b2d5ebe8405f8c4833f2ff54fe6324faa.zip
jz4760: Greatly enhance debug code and silence some compilation warnings.
Change-Id: I1746d67c818ad099edea83e6242ffd5c79be0000
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
index 9215d7d08a..4de35367ba 100644
--- a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c
@@ -38,7 +38,7 @@ static int sd_drive_nr = 0;
static tCardInfo card;
static struct mutex sd_mtx;
-static struct semaphore sd_wakeup;
+//static struct semaphore sd_wakeup;
static int use_4bit;
static int num_6;
@@ -1218,7 +1218,7 @@ int sd_init(void)
static bool inited = false;
if(!inited)
{
- semaphore_init(&sd_wakeup, 1, 0);
+// semaphore_init(&sd_wakeup, 1, 0);
mutex_init(&sd_mtx);
inited = true;
}