Skip to content

Add support for NAND flash to A7K/A8K SoC family

kostap at marvell.com u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5fix: nand: pxa3xx: Remove hardcode values from the driverdrivers/mtd/nand/pxa3xx_nand.c+54 -82 replies
2/5arm64: mvebu: a8k: Add support for NAND clock getarch/arm/mach-mvebu/armada8k/cpu.c+16 -01 reply
2/5arm64: mvebu: a8k: Add support for NAND clock get+0 -01 reply
3/5arm64: mvebu: Fix the bubt comamnd NAND device supportcmd/mvebu/bubt.c+7 -62 replies
4/5arm64: a8k: dts: Add support for NAND devices on A8K platformarch/arm/dts/Makefile arch/arm/dts/armada-7040-db-nand.dts arch/arm/dts/armada-7040-db.dts +1 more+237 -01 reply
5/5arm64: mvebu: a8k: Add NAND configuration parametersconfigs/mvebu_db-88f7040-nand_defconfig include/configs/mvebu_armada-8k.h+83 -03 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchStefan Roese
1/5R-b
2/5
2/5
3/5R-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/5] Add support for NAND flash to A7K/A8K SoC family

From: Konstantin Porotchkin <[email protected]>

This patch series adds NAND flash support to Marvell A7K/A8K SoC families. Additionally it fixes the pxa3xx driver by enforcing usage of DTS-supplied NAND parameters instead of using the hardcoded ones.
The Marvell "bubt" command code related to NAND flash is updated according to new DM driver APIs.
Added a default configuration file for Armada-7040 DB with NAND flash selected as a boot device instead of default SPI flash.
Added a DTS file for this setup that includes proper MPPs configuration.

These patches should be applied on top of the following patch that was sent to the u-boot list earlier:
"fix: nand: Fix nand RW access wrappers"

Konstantin Porotchkin (5):
fix: nand: pxa3xx: Remove hardcode values from the driver
arm64: mvebu: a8k: Add support for NAND clock get
arm64: mvebu: Fix the bubt comamnd NAND device support
arm64: a8k: dts: Add support for NAND devices on A8K platform
arm64: mvebu: a8k: Add NAND configuration parameters

 arch/arm/dts/Makefile                   |   1 +
 arch/arm/dts/armada-7040-db-nand.dts    | 222 ++++++++++++++++++++++++++++++++
 arch/arm/dts/armada-7040-db.dts         |   1 +
 arch/arm/dts/armada-cp110-master.dtsi   |  13 ++
 arch/arm/mach-mvebu/armada8k/cpu.c      |  16 +++
 cmd/mvebu/bubt.c                        |  13 +-
 configs/mvebu_db-88f7040-nand_defconfig |  72 +++++++++++
 drivers/mtd/nand/pxa3xx_nand.c          |  62 +++++++--
 include/configs/mvebu_armada-8k.h       |  11 ++
 9 files changed, 397 insertions(+), 14 deletions(-)
 create mode 100644 arch/arm/dts/armada-7040-db-nand.dts
 create mode 100644 configs/mvebu_db-88f7040-nand_defconfig
Signature · 1 line
2.7.4