Re: [PATCH 07/13] sdhci: Add support for hosts with strict 32 bit addressing
From: Pierre Ossman <hidden>
Date: 2009-03-08 14:17:29
Also in:
lkml
Attachments
- signature.asc [application/pgp-signature] 198 bytes
From: Pierre Ossman <hidden>
Date: 2009-03-08 14:17:29
Also in:
lkml
On Wed, 4 Mar 2009 20:48:45 +0300 Anton Vorontsov [off-list ref] wrote:
But I see the point of confusion... Instead of teaching "SDHCI core" to work with 32 bits hosts, we'd better handle this in the eSDHC part, in the accessors. This is relatively trivial and should not cause much overhead (at least when using DMA), just a small state machine with the xfer mode register shadowed in software (plus, notice that this also handles BLOCK_SIZE, as I promised in another email):
Me like. Keeps my life a lot saner. :)
Just be aware that there is a remote risk of breakage as people hacking
on sdhci-core won't be aware of esdhc's, let's call it unique,
behaviour. Some testing now and then on your part would be prudent. :)
Rgds
--
-- Pierre Ossman
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.