
Hi Linus,
Thanks for merging the patches to u-boot. We actually had something similar here locally but just didn't get the chance to upstream yet.
We will review and compare your patches to ours and get back to you.
Thanks, William
-----Original Message----- From: Linus Walleij linus.walleij@linaro.org Sent: Wednesday, September 11, 2024 12:11 AM To: u-boot@lists.denx.de; Dario Binacchi dario.binacchi@amarulasolutions.com; Michael Trimarchi michael@amarulasolutions.com; Anand Gore anand.gore@broadcom.com; William Zhang william.zhang@broadcom.com; Kursad Oney kursad.oney@broadcom.com; Philippe Reynes philippe.reynes@softathome.com Cc: Linus Walleij linus.walleij@linaro.org; Florian Fainelli florian.fainelli@broadcom.com; Miquel Raynal miquel.raynal@bootlin.com; Kamal Dasu kamal.dasu@broadcom.com; David Regan dregan@broadcom.com Subject: [PATCH 0/7] mtd: nand: brcmnand: Backported fixes from Linux
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@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@linaro.org