On Wed, 29 Jan 2025 12:15:54 +0100, Marek Vasut wrote: > For eMMC v4 and newer that is smaller than 2 GiB, the JEDEC JESD84-B51 > section 6.2.4 Configure partitions indicates that EXT_CSD SEC_COUNT > should not be used to determine device size, and instead device size > should be calculated from C_SIZE and C_SIZE_MULT. > > This is not exactly accurate, the 2 GiB limit is not a hard line, > there are eMMC devices which are smaller than 2 GiB and still > require device size to be determined from EXT_CSD SEC_COUNT. The > hard line is instead OCR HCS bit, which indicates whether the device > is byte or sector addressed, the former applies to most devices > below 2 GiB, and the later applies mostly to devices above 2 GiB. > > [...]
Applied to u-boot/master, thanks! -- Tom