From: Matthieu CASTET <matthieu.castet@parrot.com>
To: Aaron Lu <aaron.lu@amd.com>
Cc: "linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>
Subject: Re: sdhci max_blk_size
Date: Thu, 5 Jan 2012 13:46:40 +0100 [thread overview]
Message-ID: <4F059BB0.6050000@parrot.com> (raw)
In-Reply-To: <20120105011634.GA32160@ladygaga>
Aaron Lu a écrit :
> On Wed, Jan 04, 2012 at 04:01:07PM +0100, Matthieu CASTET wrote:
>> Hi,
>>
>> our controller set "Max Block Length" to 3 (4096 byte), but the linux driver
>> ignore this value [1].
>>
>> Is there any reason to do that .
>
> The reason is, sd host controller spec defines 3 as reserved, not 4096.
ok, in fact this is an extension of our controller : it claims to be sdhci v2,
but they added extra registers and added some field in standard register.
For example they added 4K support by using bit 15 of Block size register.
I think we should use SDHCI_QUIRK_FORCE_BLK_SZ_2048.
Sorry for the mail.
Matthieu
prev parent reply other threads:[~2012-01-05 12:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-04 15:01 sdhci max_blk_size Matthieu CASTET
2012-01-05 1:16 ` Aaron Lu
2012-01-05 12:46 ` Matthieu CASTET [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F059BB0.6050000@parrot.com \
--to=matthieu.castet@parrot.com \
--cc=aaron.lu@amd.com \
--cc=linux-mmc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.