[PATCH 0/5] stm32mp2: Add SPI flashes support

Patrice Chotard patrice.chotard at foss.st.com
Fri Aug 8 17:11:49 CEST 2025


This series introduces 2 new drivers:
  _ STM32 Octo Memory Manager driver
  _ STM32 OSPI driver

It adds resource check helpers which are used by OMM driver.
It adds and enables OMM and OSPI driver support for stm32mp257f-ev1 board

Patrice Chotard (5):
  ioport: Add resource check helpers
  memory: Add STM32 Octo Memory Manager driver
  spi: Add STM32MP2 Octo-SPI driver support
  configs: stm32mp25: Enable configs flags related to SPI flashes.
  ARM: dts: Add flash0 partitions for stm32mp257f-ev1-u-boot

 arch/arm/dts/stm32mp257f-ev1-u-boot.dtsi |  41 ++
 configs/stm32mp25_defconfig              |  15 +-
 drivers/memory/Kconfig                   |  17 +
 drivers/memory/Makefile                  |   1 +
 drivers/memory/stm32_omm.c               | 421 +++++++++++++++
 drivers/spi/Kconfig                      |   8 +
 drivers/spi/Makefile                     |   1 +
 drivers/spi/stm32_ospi.c                 | 623 +++++++++++++++++++++++
 include/linux/ioport.h                   |  16 +
 9 files changed, 1142 insertions(+), 1 deletion(-)
 create mode 100644 drivers/memory/stm32_omm.c
 create mode 100644 drivers/spi/stm32_ospi.c

-- 
2.25.1

base-commit: b01f49c61b9401b5fa089d39808a4dc8f83bf05a
branch: upstream_OSPI


More information about the U-Boot mailing list