(subset) [PATCH v1 2/2] commands: mmc_extcsd: fix enhanced-area / GPP size display arithmetic

Sascha Hauer s.hauer at pengutronix.de
Thu Jun 18 00:00:29 PDT 2026


On Wed, 17 Jun 2026 10:34:48 +0000, Johannes Schneider wrote:
> Per JEDEC eMMC 5.1 (JESD84-B51, February 2015), the displayed byte
> size for the enhanced user data area and for each general-purpose
> partition is the product of the SIZE_MULT bytes, the write-protect
> group size, the erase group size, and 512 KiB:
> 
>   §7.4.90 ENH_SIZE_MULT [142:140] (p. 219):
>     Enhanced User Data Area x Size =
>        (ENH_SIZE_MULT_2 * 2^16 + ENH_SIZE_MULT_1 * 2^8
>         + ENH_SIZE_MULT_0 * 2^0)
>        * HC_WP_GRP_SIZE * HC_ERASE_GRP_SIZE * 512 kBytes
> 
> [...]

Applied, thanks!

[2/2] commands: mmc_extcsd: fix enhanced-area / GPP size display arithmetic
      https://git.pengutronix.de/cgit/barebox/commit/?id=fe7386051df1 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list