[PATCH v1] mtd: nand: raw: rockchip_nfc: fix oobfree length calculation

Quentin Schulz u-boot at 0leil.net
Fri Jul 10 15:17:35 CEST 2026


On Tue, 30 Jun 2026 15:32:46 +0200, Johan Jonker wrote:
> The oobfree[0].length calculation depends on the
> rknand->metadata_size value, but this is calculated
> after the function rk_nfc_ecc_init is called. Move this
> calculation to a location before it's value is required.

Applied to https://git.u-boot-project.org/u-boot/custodians/u-boot-rockchip (u-boot-rockchip-2026.10), thanks!

[1/1] mtd: nand: raw: rockchip_nfc: fix oobfree length calculation
      https://git.u-boot-project.org/u-boot/custodians/u-boot-rockchip/-/commit/3f6d1416a89cc213ddf1f1f41dc0cda84b896b5c

Best regards,
-- 
Quentin Schulz <u-boot at 0leil.net>



More information about the U-Boot mailing list