zephyr/drivers/flash
Alexander Wachter 09fea5cc5e drivers: flash: stm32g4: Flush caches after erase
This commit fixes sporadic kernel panics when writing big data chunks
to the flash. (data bus errors)
Reference manual:
If an erase operation in Flash memory also concerns data in the data
or instruction cache, you have to make sure that these data are
rewritten before they are accessed during code execution.
If this cannot be done safely, it is recommended to flush the caches
by setting the DCRST and ICRST bits in the Flash access control
register (FLASH_ACR).

Signed-off-by: Alexander Wachter <alexander.wachter@leica-geosystems.com>
2021-02-11 13:55:35 -05:00
..
CMakeLists.txt drivers: soc_flash_lpc: LPC legacy flash driver 2021-01-23 08:01:00 -05:00
flash_gecko.c drivers: flash: Convert drivers to new DT device macros 2020-12-15 18:29:51 -05:00
flash_handlers.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
flash_mcux_flexspi_nor.c drivers: flash: Introduce i.MX RT FlexSPI driver 2021-01-22 11:11:54 -05:00
flash_mcux_flexspi.c drivers: flash: Introduce i.MX RT FlexSPI driver 2021-01-22 11:11:54 -05:00
flash_mcux_flexspi.h drivers: flash: Introduce i.MX RT FlexSPI driver 2021-01-22 11:11:54 -05:00
flash_page_layout.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
flash_priv.h
flash_sam0.c drivers: flash: Convert drivers to new DT device macros 2020-12-15 18:29:51 -05:00
flash_sam.c drivers: flash: Convert drivers to new DT device macros 2020-12-15 18:29:51 -05:00
flash_shell.c drivers: flash: Fix flash shell to work without dts chosen node 2021-01-22 11:11:54 -05:00
flash_simulator.c drivers: flash: Convert drivers to new DT device macros 2020-12-15 18:29:51 -05:00
flash_stm32_qspi.c drivers/flash: flash_stm32_qspi: Set DMA as optional 2021-01-15 10:29:30 -05:00
flash_stm32_v1.c drivers: flash: stm32l1: add initial L1x support 2020-11-30 15:49:15 -06:00
flash_stm32.c drivers: flash: Convert drivers to new DT device macros 2020-12-15 18:29:51 -05:00
flash_stm32.h drivers/flash: add support for stm32h7 devices 2020-12-14 16:47:05 +01:00
flash_stm32f4x.c drivers: flash: stm32f4: Don't invert an already inverted mask 2020-11-12 08:56:06 -06:00
flash_stm32f7x.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
flash_stm32g0x.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
flash_stm32g4x.c drivers: flash: stm32g4: Flush caches after erase 2021-02-11 13:55:35 -05:00
flash_stm32h7x.c drivers: flash: stm32h7: fix int/long int warnings 2021-02-04 10:07:08 -05:00
flash_stm32l4x.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
flash_stm32wbx.c drivers: flash: stm32wb: Fix build error 2020-09-04 11:53:02 +02:00
jesd216.c drivers: flash: jesd216: add support for DW16 decoding 2021-01-18 16:58:09 -05:00
jesd216.h drivers: flash: jesd216: add support for DW16 decoding 2021-01-18 16:58:09 -05:00
Kconfig drivers: soc_flash_lpc: LPC legacy flash driver 2021-01-23 08:01:00 -05:00
Kconfig.at45 drivers: flash: spi nor: Add missing flash layout conf 2020-11-17 16:44:03 -05:00
Kconfig.gecko drivers/flash: select to allow flash write by MPU on ARM SoCs 2021-01-25 08:59:01 -05:00
Kconfig.lpc drivers: soc_flash_lpc: LPC legacy flash driver 2021-01-23 08:01:00 -05:00
Kconfig.mcux drivers/flash: select to allow flash write by MPU on ARM SoCs 2021-01-25 08:59:01 -05:00
Kconfig.nios2_qspi
Kconfig.nor drivers: flash: spi nor: Add missing flash layout conf 2020-11-17 16:44:03 -05:00
Kconfig.nordic_qspi_nor drivers: flash: nrf_qspi: support JESD216 API 2021-01-18 16:58:09 -05:00
Kconfig.nrf drivers/flash: select to allow flash write by MPU on ARM SoCs 2021-01-25 08:59:01 -05:00
Kconfig.rv32m1
Kconfig.sam drivers/flash: select to allow flash write by MPU on ARM SoCs 2021-01-25 08:59:01 -05:00
Kconfig.sam0 drivers/flash: select to allow flash write by MPU on ARM SoCs 2021-01-25 08:59:01 -05:00
Kconfig.simulator
Kconfig.stm32 drivers/flash: select to allow flash write by MPU on ARM SoCs 2021-01-25 08:59:01 -05:00
Kconfig.stm32_qspi drivers/flash: flash_stm32_qspi: Set DMA as optional 2021-01-15 10:29:30 -05:00
nrf_qspi_nor.c drivers: flash: nrf_qspi: support JESD216 API 2021-01-18 16:58:09 -05:00
soc_flash_lpc.c drivers: soc_flash_lpc: LPC legacy flash driver 2021-01-23 08:01:00 -05:00
soc_flash_mcux.c drivers: flash: Convert drivers to new DT device macros 2020-12-15 18:29:51 -05:00
soc_flash_nios2_qspi.c drivers: flash: Convert DEVICE_AND_API_INIT to DEVICE_DEFINE 2020-12-19 19:57:52 -05:00
soc_flash_nrf_ticker.c drivers/flash/soc_flash_nrf: implement ticker synch backend 2020-09-04 16:08:42 +02:00
soc_flash_nrf.c drivers: Convert to use new DEVICE_DT_INST_* macros 2020-12-09 14:06:48 -06:00
soc_flash_nrf.h drivers/flash/soc_flash_nrf: introduce synchronization api usage 2020-09-04 16:08:42 +02:00
soc_flash_rv32m1.c drivers: flash: Convert drivers to new DT device macros 2020-12-15 18:29:51 -05:00
spi_flash_at45.c drivers: flash: Convert drivers to new DT device macros 2020-12-15 18:29:51 -05:00
spi_nor.c drivers: flash: spi_nor: correct log message 2021-01-06 16:01:04 -06:00
spi_nor.h drivers: flash: spi_nor: read erase support and page size from SFDP 2020-08-17 13:38:14 -04:00