[PATCH 0/7] mtd: nand: brcmnand: Backported fixes from Linux

Linus Walleij linus.walleij at linaro.org
Wed Sep 11 09:11:11 CEST 2024


These are a number of assorted upstream Linux fixes to the
BRCMNAND driver that I have backported in an attempt to get
BRCMBCA working with U-Boot (still not there).

This patch set lowers the hamming distance between the Linux
and U-Boot drivers a bit as well, while we deviate quite
a bit it is still possible to bring fixes over thanks to
exercises like this.

The set tries to prepare the ground for the BCMBCA driver
which I have a port of which is however not yet working
as it should. This is why the read data callback is included.

These patches seem to work fine for me with my devices but
I know the maintainers have some nice test farms so try to
put these to test and see if we can merge them. I bet the
Broadcom folks has this on their TODO list anyway.

Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
Linus Walleij (1):
      mtd: rawnand: brcmnand: Add read data bus interface

William Zhang (6):
      mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller
      mtd: rawnand: brcmnand: Fix potential false time out warning
      mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write
      mtd: rawnand: brcmnand: Fix mtd oobsize
      mtd: rawnand: brcmnand: Support write protection setting from dts
      mtd: rawnand: brcmnand: Add support for getting ecc setting from strap

 drivers/mtd/nand/raw/brcmnand/brcmnand.c | 206 ++++++++++++++++++++++++-------
 drivers/mtd/nand/raw/brcmnand/brcmnand.h |   2 +
 2 files changed, 164 insertions(+), 44 deletions(-)
---
base-commit: 5f044932413694475422d4b16607dfcf9aff8781
change-id: 20240911-brcmnand-fixes-dabd75230a63

Best regards,
-- 
Linus Walleij <linus.walleij at linaro.org>



More information about the U-Boot mailing list