zephyr/drivers/flash
Christoph Heller 382ee011d5 drivers: flash: stm32h7x: Fix wrong flash write offset
The flash_stm32_write_range() function of the STM32H7x flash
driver partially uses a wrong flash program word size for certain
SOC types when calculating the flash write offset. If the used
SOC is not having a flash program word size of 256 bits / 32 bytes
the written data might get corrupted, as the flash write offset
value does not match the number of bytes that were actually
written.

Fixes #45568

Signed-off-by: Christoph Heller <chris@metanetics.de>
2022-05-18 10:54:36 +02:00
..
CMakeLists.txt drivers: flash : introduce a new driver for the OCTOSPI 2022-05-12 14:56:25 -05:00
flash_esp32.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_gecko.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_handlers.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_ite_it8xxx2.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_mcux_flexspi_hyperflash.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_mcux_flexspi_mx25um51345g.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_mcux_flexspi_nor.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_page_layout.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_priv.h
flash_sam0.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_sam.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_shell.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_simulator.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_stm32_ospi.c drivers: flash: ospi factorized for stm32 devices 2022-05-12 14:56:25 -05:00
flash_stm32_qspi.c drivers: flash: stm32: qspi: use ternary and asserts in quad prepare 2022-05-13 08:44:54 -07:00
flash_stm32_v1.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_stm32.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_stm32.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_stm32f2x.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_stm32f4x.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_stm32f7x.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_stm32g0x.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_stm32g4x.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_stm32h7x.c drivers: flash: stm32h7x: Fix wrong flash write offset 2022-05-18 10:54:36 +02:00
flash_stm32l4x.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_stm32l5_u5.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_stm32wbx.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
jesd216.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
jesd216.h drivers: flash: jesd216: correct comment mistake 2022-05-13 08:44:54 -07:00
Kconfig drivers: flash : introduce a new driver for the OCTOSPI 2022-05-12 14:56:25 -05:00
Kconfig.at45
Kconfig.b91 drivers: flash: introduce new Telink B91 Flash driver 2021-07-30 19:53:04 -04:00
Kconfig.esp32 soc: riscv: esp32c3: drivers: flash: add support 2021-10-28 06:47:21 -04:00
Kconfig.gecko
Kconfig.it8xxx2 ite: drivers/flash: add flash driver for it8xxx2 2021-06-22 15:15:20 -04:00
Kconfig.lpc
Kconfig.mcux boards: imx_rt: Don't default FLASH_MCUX_FLEXSPI_XIP to enabled 2022-05-04 10:46:03 -05:00
Kconfig.nios2_qspi
Kconfig.nor
Kconfig.nordic_qspi_nor drivers/flash/nrf_qspi_nor: Default write_from_nvmc buffer size to 4 2021-12-20 17:52:00 +01:00
Kconfig.nrf
Kconfig.rv32m1
Kconfig.sam drivers: flash: Kconfig.sam: -depends on and +dfu sample exclude 2021-09-02 13:23:47 -04:00
Kconfig.sam0
Kconfig.simulator kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.stm32 drivers: flash stm32 flash driver includes stm32u5 serie 2022-04-13 13:55:34 -07:00
Kconfig.stm32_ospi drivers: flash : introduce a new driver for the OCTOSPI 2022-05-12 14:56:25 -05:00
Kconfig.stm32_qspi kconfig: fix dt_node_has_prop and add nodelabel functions 2022-03-23 13:25:21 +01:00
nrf_qspi_nor.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
soc_flash_b91.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
soc_flash_lpc.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
soc_flash_mcux.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
soc_flash_nios2_qspi.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
soc_flash_nrf_ticker.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
soc_flash_nrf.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
soc_flash_nrf.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
soc_flash_rv32m1.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
spi_flash_at45.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
spi_nor.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
spi_nor.h drivers: flash: spi_nor: add SR3 read and write defines 2022-05-13 08:44:54 -07:00