[PATCH v2 0/4] Broadcom BCMBCA nand updates

david regan dregan at broadcom.com
Wed Nov 13 07:27:11 CET 2024


These are ports of upstream Linux patches to U-Boot.

Remove device specific nand driver files as they are now replaced
by a common driver bcmbca_nand.c

Make use of OF_UPSTREAM which uses Linux dts.

Implement a minimal set of defconfig options to enable basic NAND
functionality. Tested on:
47622
63146
63158
63178
6813

Set parameter_page_big_endian to zero for bcmbca.

Update log level messages so that more critical messages can be logged
to console and help the troubleshooting with field devices.

https://lore.kernel.org/linux-mtd/20240223034758.13753-4-william.zhang@broadcom.com/

---

Changes in v2:
- Set parameter_page_big_endian to zero for bcmbca instead of
  using an extra bit of endian translation code.

david regan (4):
  mtd: nand: brcmnand: remove device specific nand driver files
  arm: dts: Use upstream dts
  mtd: rawnand: brcmnand: Default bcmbca parameter_page_big_endian to
    zero
  mtd: rawnand: brcmnand: update log level messages

 arch/arm/dts/bcm47622.dtsi                    | 126 --------
 arch/arm/dts/bcm4912.dtsi                     | 128 --------
 arch/arm/dts/bcm63146.dtsi                    | 110 -------
 arch/arm/dts/bcm63158.dtsi                    | 278 ------------------
 arch/arm/dts/bcm63178.dtsi                    | 120 --------
 arch/arm/dts/bcm6756.dtsi                     | 130 --------
 arch/arm/dts/bcm6813.dtsi                     | 128 --------
 arch/arm/dts/bcm6855.dtsi                     | 257 ----------------
 arch/arm/dts/bcm6856.dtsi                     | 253 ----------------
 arch/arm/dts/bcm6858.dtsi                     | 272 -----------------
 arch/arm/dts/bcm6878.dtsi                     | 111 -------
 arch/arm/dts/bcm947622.dts                    |  30 --
 arch/arm/dts/bcm94912.dts                     |  30 --
 arch/arm/dts/bcm963146.dts                    |  30 --
 arch/arm/dts/bcm963158.dts                    |  30 --
 arch/arm/dts/bcm963178.dts                    |  30 --
 arch/arm/dts/bcm96756.dts                     |  30 --
 arch/arm/dts/bcm96813.dts                     |  30 --
 arch/arm/dts/bcm96855.dts                     |  30 --
 arch/arm/dts/bcm96856.dts                     |  30 --
 arch/arm/dts/bcm96858.dts                     |  30 --
 arch/arm/dts/bcm96878.dts                     |  30 --
 arch/arm/mach-bcmbca/bcm47622/Kconfig         |   1 +
 arch/arm/mach-bcmbca/bcm4912/Kconfig          |   1 +
 arch/arm/mach-bcmbca/bcm63146/Kconfig         |   1 +
 arch/arm/mach-bcmbca/bcm63158/Kconfig         |   1 +
 arch/arm/mach-bcmbca/bcm63178/Kconfig         |   1 +
 arch/arm/mach-bcmbca/bcm6756/Kconfig          |   1 +
 arch/arm/mach-bcmbca/bcm6813/Kconfig          |   1 +
 arch/arm/mach-bcmbca/bcm6855/Kconfig          |   1 +
 arch/arm/mach-bcmbca/bcm6856/Kconfig          |   1 +
 arch/arm/mach-bcmbca/bcm6858/Kconfig          |   1 +
 arch/arm/mach-bcmbca/bcm6878/Kconfig          |   1 +
 configs/bcm947622_defconfig                   |  11 +-
 configs/bcm94912_defconfig                    |  11 +-
 configs/bcm963146_defconfig                   |  11 +-
 configs/bcm963158_defconfig                   |  11 +-
 configs/bcm963178_defconfig                   |  11 +-
 configs/bcm96756_defconfig                    |  11 +-
 configs/bcm96813_defconfig                    |  11 +-
 configs/bcm96855_defconfig                    |  11 +-
 configs/bcm96856_defconfig                    |  11 +-
 configs/bcm96858_defconfig                    |  11 +-
 configs/bcm96878_defconfig                    |  11 +-
 drivers/mtd/nand/raw/Kconfig                  |  24 --
 drivers/mtd/nand/raw/brcmnand/Makefile        |   4 -
 drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c | 125 --------
 drivers/mtd/nand/raw/brcmnand/bcm6753_nand.c  | 123 --------
 drivers/mtd/nand/raw/brcmnand/bcm68360_nand.c | 124 --------
 drivers/mtd/nand/raw/brcmnand/bcm6858_nand.c  | 125 --------
 drivers/mtd/nand/raw/brcmnand/brcmnand.c      |  14 +-
 51 files changed, 132 insertions(+), 2782 deletions(-)
 delete mode 100644 arch/arm/dts/bcm47622.dtsi
 delete mode 100644 arch/arm/dts/bcm4912.dtsi
 delete mode 100644 arch/arm/dts/bcm63146.dtsi
 delete mode 100644 arch/arm/dts/bcm63158.dtsi
 delete mode 100644 arch/arm/dts/bcm63178.dtsi
 delete mode 100644 arch/arm/dts/bcm6756.dtsi
 delete mode 100644 arch/arm/dts/bcm6813.dtsi
 delete mode 100644 arch/arm/dts/bcm6855.dtsi
 delete mode 100644 arch/arm/dts/bcm6856.dtsi
 delete mode 100644 arch/arm/dts/bcm6858.dtsi
 delete mode 100644 arch/arm/dts/bcm6878.dtsi
 delete mode 100644 arch/arm/dts/bcm947622.dts
 delete mode 100644 arch/arm/dts/bcm94912.dts
 delete mode 100644 arch/arm/dts/bcm963146.dts
 delete mode 100644 arch/arm/dts/bcm963158.dts
 delete mode 100644 arch/arm/dts/bcm963178.dts
 delete mode 100644 arch/arm/dts/bcm96756.dts
 delete mode 100644 arch/arm/dts/bcm96813.dts
 delete mode 100644 arch/arm/dts/bcm96855.dts
 delete mode 100644 arch/arm/dts/bcm96856.dts
 delete mode 100644 arch/arm/dts/bcm96858.dts
 delete mode 100644 arch/arm/dts/bcm96878.dts
 delete mode 100644 drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c
 delete mode 100644 drivers/mtd/nand/raw/brcmnand/bcm6753_nand.c
 delete mode 100644 drivers/mtd/nand/raw/brcmnand/bcm68360_nand.c
 delete mode 100644 drivers/mtd/nand/raw/brcmnand/bcm6858_nand.c

-- 
2.37.3



More information about the U-Boot mailing list