summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Chicoine <mc2739@gmail.com>2010-02-25 00:02:58 +0000
committerMichael Chicoine <mc2739@gmail.com>2010-02-25 00:02:58 +0000
commitb6033c9aa01c8f9253359078500b044e5f406ffb (patch)
treef90400feed2af072e9bbe99ccb257276780788d9
parentabacbbda6ccdf3889edcf6ef9103c0e4db522d63 (diff)
downloadrockbox-b6033c9aa01c8f9253359078500b044e5f406ffb.tar.gz
rockbox-b6033c9aa01c8f9253359078500b044e5f406ffb.tar.bz2
rockbox-b6033c9aa01c8f9253359078500b044e5f406ffb.zip
Revert r24898 and fix yellow properly so that register is still read
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24899 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index 6da7d1f74b..52db0c0420 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -530,7 +530,8 @@ static void sd_thread(void)
static void init_controller(void)
{
-// int temp = MCI_HCON; /* we just need to read HCON */
+ int temp = MCI_HCON; /* we just need to read HCON */
+ (void)temp;
// panicf("HCON: %8x",temp);
// int idx = (MCI_HCON >> 1) & 31; /* Maximum card Index */
// int idx_bits = (1 << idx) -1;