diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2011-03-21 23:24:59 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2011-03-21 23:24:59 +0000 |
commit | d3c796d20e4bd8e15f18a0dac2e9c4283df5740b (patch) | |
tree | d0d0fa1445a66a87e9695f2d7421bb5a58bd9d6a | |
parent | fc0ad4c01ec938e11fbcfcb8d6a517bf50922a35 (diff) |
AMSv2 SD: send 80 idle clocks before sending initial CMD0 (go idle state)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29630 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/arm/as3525/sd-as3525v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c index 7aecf12e72..171acec3bb 100644 --- a/firmware/target/arm/as3525/sd-as3525v2.c +++ b/firmware/target/arm/as3525/sd-as3525v2.c @@ -425,7 +425,7 @@ static bool send_cmd(const int drive, const int cmd, const int arg, const int fl /*b12 | CMD_SENT_AUTO_STOP_BIT unused */ /*b13 */ | ((cmd != SD_STOP_TRANSMISSION) ? CMD_WAIT_PRV_DAT_BIT: 0) /*b14 | CMD_ABRT_CMD_BIT unused */ - /*b15 | CMD_SEND_INIT_BIT unused */ + /*b15 */ | ((cmd == SD_GO_IDLE_STATE) ? CMD_SEND_INIT_BIT: 0) /*b20:16 */ | card_no /*b21 | CMD_SEND_CLK_ONLY unused */ /*b22 | CMD_READ_CEATA unused */ |