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

William Zhang william.zhang at broadcom.com
Thu Sep 12 03:32:55 CEST 2024


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 at linaro.org>
> Sent: Wednesday, September 11, 2024 12:11 AM
> To: u-boot at lists.denx.de; Dario Binacchi
> <dario.binacchi at amarulasolutions.com>; Michael Trimarchi
> <michael at amarulasolutions.com>; Anand Gore
> <anand.gore at broadcom.com>; William Zhang
> <william.zhang at broadcom.com>; Kursad Oney
> <kursad.oney at broadcom.com>; Philippe Reynes
> <philippe.reynes at softathome.com>
> Cc: Linus Walleij <linus.walleij at linaro.org>; Florian Fainelli
> <florian.fainelli at broadcom.com>; Miquel Raynal
> <miquel.raynal at bootlin.com>; Kamal Dasu <kamal.dasu at broadcom.com>;
> David Regan <dregan at 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 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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4212 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240911/e1c4b795/attachment.bin>


More information about the U-Boot mailing list