riscv-openocd/contrib/loaders/flash
Sergey Matsievskiy eb6f2745b7 flash/nor: add DesignWare SPI controller driver
Driver for DesignWare SPI controller, found on many SoCs (see compatible
list in Linux device tree bindings
Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml). This
implementation only supports MIPS as it was the only one available for the
tests, however, adding support for other architectures should require only
few adjustments. Driver relies on flash/nor/spi.h to find Flash chip info.
Driver internal functions support 24bit addressing mode, but due to
limitations of flash/nor/spi.h, it is not used. The reported writing speed
is about 60kb/s.
Lint, sanitizer and valgrind reported warnings were not related to the
driver.

Change-Id: Id3df5626ab88055f034f74f274823051dedefeb1
Signed-off-by: Sergey Matsievskiy <matsievskiysv@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8400
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2025-01-31 03:25:53 +00:00
..
at91sam7x openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
bluenrg-x openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
cc26xx flash/nor: Update cc26xx flash driver to support cc13x2x7 2024-09-15 09:08:58 +00:00
cc3220sf contrib: add GPL license tag on files that miss it 2022-09-13 22:06:50 +00:00
dw-spi flash/nor: add DesignWare SPI controller driver 2025-01-31 03:25:53 +00:00
fespi contrib: convert 'unsigned' to 'unsigned int' 2024-11-09 21:05:18 +00:00
fm4 contrib: add GPL license tag on files that miss it 2022-09-13 22:06:50 +00:00
fpga contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
gd32vf103 openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
kinetis contrib: add GPL license tag on files that miss it 2022-09-13 22:06:50 +00:00
kinetis_ke contrib: add GPL license tag on files that miss it 2022-09-13 22:06:50 +00:00
max32xxx contrib: add GPL license tag on files that miss it 2022-09-13 22:06:50 +00:00
msp432 openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
npcx flash/nor: add support for Nuvoton NPCX4/K3 series flash 2023-09-08 22:01:12 +00:00
nrf5 contrib: add GPL license tag on files that miss it 2022-09-13 22:06:50 +00:00
numicro flash/nor, contrib/loaders: move numicro M0 write assembly to contrib/loaders 2023-01-15 15:04:25 +00:00
rsl10 flash/rsl10: fix typo 2023-04-14 15:17:08 +00:00
sh_qspi contrib: add GPL license tag on files that miss it 2022-09-13 22:06:50 +00:00
stm32 openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
stmqspi contrib: add GPL license tag on files that miss it 2022-09-13 22:06:50 +00:00
xmc1xxx contrib: add GPL license tag on files that miss it 2022-09-13 22:06:50 +00:00
armv4_5_cfi_intel_8.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
armv4_5_cfi_intel_16.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
armv4_5_cfi_intel_32.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
armv4_5_cfi_span_8.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
armv4_5_cfi_span_16.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
armv4_5_cfi_span_16_dq7.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
armv4_5_cfi_span_32.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
armv7m_cfi_span_16.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
armv7m_cfi_span_16_dq7.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
armv7m_io.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
cortex-m0.S contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
efm32.S contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
k1921vk01t.S contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
lpcspifi_erase.S contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
lpcspifi_init.S contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
lpcspifi_write.S contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
mdr32fx.S contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
mrvlqspi_write.S contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
pic32mx.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
sim3x.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
stellaris.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
str7x.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00
str9x.s contrib: replace the GPLv2-or-later license tag 2022-09-13 22:06:14 +00:00