On 6/23/21 10:52 AM, Philippe Mathieu-Daudé wrote: > On 6/23/21 10:39 AM, Bin Meng wrote: >> On Wed, Jun 23, 2021 at 4:30 PM Cédric Le Goater <c...@kaod.org> wrote: >>> >>> The number of blocks is defined in the lower bits [15:0] >> >> I checked the physical spec v8.00 and it says bits [31:0] for CMD23 argument. > > Watch out, we only support 1-3: > > enum SDPhySpecificationVersion { > SD_PHY_SPECv1_10_VERS = 1, > SD_PHY_SPECv2_00_VERS = 2, > SD_PHY_SPECv3_01_VERS = 3, > }; >
Yes. block count was increased to 32-bit in v4 if I am correct. Any how, it is a bit more complex than the patch I sent which is fixing an issue I saw with eMMC. Thanks, C.