[PATCH 0/3] bsps/xilinx-zynqmp: Add JFFS2 GQSPI NOR driver

Alex White alex.white at oarcorp.com
Mon Jan 23 19:52:04 UTC 2023


This patchset adds a JFFS2 driver for NOR flash using the Xilinx GQSPI
controller. It includes an imported XQspipsu driver from Xilinx, a series of
helper functions to interface with NOR flash, and a JFFS2 driver that uses the
helper functions.

Alex White (3):
  bsps: Import Xilinx GQSPI driver
  bsps: Add Xilinx GQSPI flash helper
  bsps/xilinx-zynqmp: Add JFFS2 GQSPI NOR driver

 bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h  |    1 +
 .../include/bsp/jffs2_xqspipsu.h              |   62 +
 bsps/aarch64/xilinx-zynqmp/jffs2_xqspipsu.c   |  186 ++
 bsps/include/dev/spi/xqspipsu-flash-helper.h  |   81 +
 bsps/include/dev/spi/xqspipsu.h               |  567 +++++
 bsps/include/dev/spi/xqspipsu_control.h       |  102 +
 bsps/include/dev/spi/xqspipsu_flash_config.h  |  355 +++
 bsps/include/dev/spi/xqspipsu_hw.h            | 1006 +++++++++
 bsps/shared/dev/spi/VERSION                   |   29 +
 bsps/shared/dev/spi/xqspipsu-flash-helper.c   | 2005 +++++++++++++++++
 bsps/shared/dev/spi/xqspipsu.c                | 1048 +++++++++
 bsps/shared/dev/spi/xqspipsu_control.c        |  282 +++
 bsps/shared/dev/spi/xqspipsu_hw.c             |  768 +++++++
 bsps/shared/dev/spi/xqspipsu_options.c        |  532 +++++
 spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml |    2 +
 .../aarch64/xilinx-zynqmp/objjffs2qspinor.yml |   22 +
 spec/build/bsps/objqspipsu.yml                |   32 +
 spec/build/bsps/optxpssysctrlbaseaddress.yml  |   18 +
 18 files changed, 7098 insertions(+)
 create mode 100644 bsps/aarch64/xilinx-zynqmp/include/bsp/jffs2_xqspipsu.h
 create mode 100644 bsps/aarch64/xilinx-zynqmp/jffs2_xqspipsu.c
 create mode 100644 bsps/include/dev/spi/xqspipsu-flash-helper.h
 create mode 100644 bsps/include/dev/spi/xqspipsu.h
 create mode 100644 bsps/include/dev/spi/xqspipsu_control.h
 create mode 100644 bsps/include/dev/spi/xqspipsu_flash_config.h
 create mode 100644 bsps/include/dev/spi/xqspipsu_hw.h
 create mode 100644 bsps/shared/dev/spi/VERSION
 create mode 100644 bsps/shared/dev/spi/xqspipsu-flash-helper.c
 create mode 100644 bsps/shared/dev/spi/xqspipsu.c
 create mode 100644 bsps/shared/dev/spi/xqspipsu_control.c
 create mode 100644 bsps/shared/dev/spi/xqspipsu_hw.c
 create mode 100644 bsps/shared/dev/spi/xqspipsu_options.c
 create mode 100644 spec/build/bsps/aarch64/xilinx-zynqmp/objjffs2qspinor.yml
 create mode 100644 spec/build/bsps/objqspipsu.yml
 create mode 100644 spec/build/bsps/optxpssysctrlbaseaddress.yml

-- 
2.34.1



More information about the devel mailing list