Re: sdhci max_blk_size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux