diff options
author | Jack Halpin <jack.halpin@gmail.com> | 2010-05-10 17:35:00 +0000 |
---|---|---|
committer | Jack Halpin <jack.halpin@gmail.com> | 2010-05-10 17:35:00 +0000 |
commit | ed704825d2a4422c366c82ae3a2dfa62c06a6935 (patch) | |
tree | 06376e102fe5e6e5f1c94fae522898f7905207de /firmware/target/arm | |
parent | 56457934c684b88ebf0156cfc9c69d71d3849348 (diff) |
sd-as3525v2: Set LP bits in MCI_CLKENA for cards after they have been initialized.
The OF does this and while we don't have the documentation to be sure I think it's highly likely this is a low power mode referred to in one of the product "briefs".
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25936 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/as3525/sd-as3525v2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c index 0eb6943531..ead3dc2694 100644 --- a/firmware/target/arm/as3525/sd-as3525v2.c +++ b/firmware/target/arm/as3525/sd-as3525v2.c @@ -562,6 +562,8 @@ static int sd_init_card(const int drive) card_info[drive].initialized = 1; + MCI_CLKENA |= 1<<(drive + 16); /* Set low power mode */ + return 0; } |