[PATCH] commands: mmc_extcsd: fix calculation of RPMB size
Sascha Hauer
s.hauer at pengutronix.de
Tue Aug 5 00:41:24 PDT 2025
On Tue, 29 Jul 2025 15:59:24 +0200, Michael Tretter wrote:
> EXT_CSD_RPMB_SIZE_MULT contains the number of 128 KB blocks in the RPMB.
> While the calculated RMPB is labeled as KB, it actually contains the
> size in bytes.
>
> Fix the calculation to report the RPMB size in KB.
>
> An alternative would have been to change the label to bytes, but since
> the RPMB size is at least in an order of magnitude of KB, changing the
> label is not intuitive.
>
> [...]
Applied, thanks!
[1/1] commands: mmc_extcsd: fix calculation of RPMB size
https://git.pengutronix.de/cgit/barebox/commit/?id=88b5cfb580fe (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list