[PATCH 3/4] mtd: rawnand: brcmnand: Add BCMBCA read data bus interface
Linus Walleij
linus.walleij at linaro.org
Thu Nov 7 15:16:26 CET 2024
On Wed, Nov 6, 2024 at 10:04 PM david regan <dregan at broadcom.com> wrote:
> The BCMBCA broadband SoC integrates the NAND controller differently than
> STB, iProc and other SoCs. It has different endianness for NAND cache
> data.
>
> Add a SoC read data bus shim for BCMBCA to meet the specific SoC need
> and performance improvement using the optimized memcpy function on NAND
> cache memory.
>
> This is a port of the upstream Linux patch to U-Boot.
>
> https://lore.kernel.org/linux-mtd/20240223034758.13753-12-william.zhang@broadcom.com/
>
> Signed-off-by: david regan <dregan at broadcom.com>
The patch looks fine, but shouldn't the existing brcmnand_read_data_bus()
in drivers/mtd/nand/raw/brcmnand/brcmnand.c also be replaced with
brcmnand_soc_data_bus_read()?
Maybe this is a problem in the upstream kernel driver though :/
Yours,
Linus Walleij
More information about the U-Boot
mailing list