Re: [PATCH 07/13] sdhci: Add support for hosts with strict 32 bit addressing
From: Pierre Ossman <hidden>
Date: 2009-02-21 15:59:09
Also in:
lkml
Attachments
- signature.asc [application/pgp-signature] 198 bytes
From: Pierre Ossman <hidden>
Date: 2009-02-21 15:59:09
Also in:
lkml
On Fri, 13 Feb 2009 17:47:22 +0300 Anton Vorontsov [off-list ref] wrote:
SDHCI driver must take special care when working with "triggering" registers on hosts with strict 32 bit addressing. In FSL eSDHC hosts all registers are 32 bit width, writing to the first half of any register will cause [undefined?] write the second half of the register. That is, 16 bit write to the TRANSFER_MODE register, makes hardware see a bogus write to the COMMAND register (these two registers are adjacent). This patch adds SDHCI_QUIRK_32BIT_REGISTERS quirk. When specified, the sdhci driver will try to "pack" all dangerous writes into single 32 bit write transaction. Signed-off-by: Anton Vorontsov <redacted> ---
What about the other places where we have 16 and 8 bit registers?
--
-- 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.