zephyr/drivers/flash
Bjarki Arge Andreasen 9c6195a2da drivers: flash: sam: fix flash erase last page
The implementation for erasing pages in the flash_sam.c driver
indicated a successful erase after exceeding the last page to be
erased successfully. Since the last page has no proceeding page,
the succeeded status was not set.

This fix switches around the status to be set as succeeded before
erase begins, to have the succeeded status cleared if page unlock
or erase fails.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-03-10 15:02:16 +01:00
..
CMakeLists.txt drivers: flash: silabs: Introduce Silabs Series 2 flash driver 2025-03-07 20:02:26 +01:00
flash_ambiq.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_andes_qspi.c drivers: flash: Wrap driver instances in device API macro 2025-02-12 16:06:25 +01:00
flash_andes_qspi.h
flash_cadence_nand_ll.c
flash_cadence_nand_ll.h
flash_cadence_nand.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_cadence_qspi_nor_ll.c style: drivers: comply with MISRA C:2012 Rule 15.6 2024-09-11 07:40:35 -04:00
flash_cadence_qspi_nor_ll.h
flash_cadence_qspi_nor.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_esp32.c driver: flash: esp32: fix unaligned read 2025-02-24 20:19:47 +00:00
flash_gd32_v1.c
flash_gd32_v2.c
flash_gd32_v3.c
flash_gd32.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_gd32.h
flash_gecko.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_handlers.c drivers/flash: Correct flash_erase userspace handler 2024-12-19 19:55:53 +01:00
flash_hp_ra_ex_op.c drivers: flash: Initial support flash driver on EK-RA8M1 2024-09-06 11:28:04 -04:00
flash_hp_ra.c drivers: Correct value of event macro for all Renesas SoC 2025-02-28 18:29:17 +01:00
flash_hp_ra.h drivers: flash: update source code Flash driver for Renesas RA 2025-01-08 17:02:36 +01:00
flash_ifx_cat1_qspi.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_ifx_cat1.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_ite_it8xxx2.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_max32.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_mcux_flexspi_hyperflash.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_mcux_flexspi_mx25um51345g.c drivers/flash/flexspi_x25um51345g: Fix broken support for get_size 2024-12-05 22:08:26 +01:00
flash_mcux_flexspi_nor.c drivers: flash: flash_mcux_flexspi_nor: Add validation checks 2025-02-03 11:18:11 +01:00
flash_mspi_atxp032.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_mspi_emul_device.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_mspi_nor.c drivers: flash: Add generic NOR flash driver for MSPI devices 2025-03-07 19:42:46 +01:00
flash_npcx_fiu_nor.c drivers: flash: npcx: add k_usleep when polling busy status 2025-02-26 07:40:37 +01:00
flash_npcx_fiu_qspi.c drivers: flash: npcx: add setting of low flash device 2025-01-14 17:57:50 +01:00
flash_npcx_fiu_qspi.h drivers: flash: npcx: Fix compile error 2025-01-15 23:05:23 +01:00
flash_nxp_s32_qspi_hyperflash.c drivers: flash: add NXP S32 QSPI HyperFlash driver 2025-01-21 19:26:45 +01:00
flash_nxp_s32_qspi_nor.c drivers: flash_nxp_s32: create common source code 2025-01-21 19:26:45 +01:00
flash_nxp_s32_qspi.c drivers: flash_nxp_s32: create common source code 2025-01-21 19:26:45 +01:00
flash_nxp_s32_qspi.h drivers: flash_nxp_s32: create common source code 2025-01-21 19:26:45 +01:00
flash_page_layout.c
flash_priv.h
flash_rpi_pico.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_sam0.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_sam.c drivers: flash: sam: fix flash erase last page 2025-03-10 15:02:16 +01:00
flash_shell.c flash_shell: add shell device filtering 2025-01-29 04:17:47 +01:00
flash_si32.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_simulator_native.c everywhere: replace double words 2024-06-22 05:40:22 -04:00
flash_simulator_native.h
flash_simulator.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_smartbond.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_stm32_ex_op.c drivers: flash: stm32: update ex_op API 2024-12-24 13:54:04 +01:00
flash_stm32_ospi.c drivers: flash: stm32 ospi: early init exit for memmap mode 2025-01-10 21:07:51 +01:00
flash_stm32_ospi.h
flash_stm32_qspi.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_stm32_xspi.c drivers: flash: stm32 xspi: early init exit for memmap mode 2025-01-10 21:07:51 +01:00
flash_stm32_xspi.h drivers: flash: stm32 xspi driver with DMA support 2024-06-12 12:53:41 -04:00
flash_stm32.c drivers: flash: stm32: rename CR lock functions 2025-02-12 07:52:49 +01:00
flash_stm32.h drivers: flash: stm32: update ex_op API 2024-12-24 13:54:04 +01:00
flash_stm32f1x.c
flash_stm32f2x.c
flash_stm32f4x.c drivers: flash: stm32: update ex_op API 2024-12-24 13:54:04 +01:00
flash_stm32f7x.c drivers: flash: stm32: add STM32 option bytes extended ops 2024-12-17 11:35:13 +00:00
flash_stm32g0x.c
flash_stm32g4x.c flash: stm32l4/g4: force load option bytes after write 2025-01-08 01:29:53 +01:00
flash_stm32h7x.c drivers: flash: stm32h7: fix compilation errors 2025-02-13 09:12:12 +01:00
flash_stm32l4x.c flash: stm32l4/g4: force load option bytes after write 2025-01-08 01:29:53 +01:00
flash_stm32l5x.c drivers: flash: stm32h5 flash driver reports the actual flash size 2025-02-12 09:39:36 +01:00
flash_stm32wb0x.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
flash_stm32wba_fm.c drivers: flash: stm32wba flash driver moves sem functions 2024-12-17 11:37:14 +00:00
flash_stm32wbax.c drivers: flash: stm32: fix flash write error handling 2024-06-14 11:11:33 +02:00
flash_stm32wbx.c
flash_util.c drivers: flash: provide a generic flash_copy() algorithm 2024-10-08 06:02:01 -04:00
jesd216.c
jesd216.h drivers: flash: spi_nor: use defines for 4byte identifiers 2024-12-03 13:06:41 +01:00
Kconfig drivers: flash: silabs: Introduce Silabs Series 2 flash driver 2025-03-07 20:02:26 +01:00
Kconfig.ambiq
Kconfig.andes
Kconfig.at45
Kconfig.b91
Kconfig.cadence_nand
Kconfig.cadence_qspi_nor
Kconfig.cc13xx_cc26xx
Kconfig.cc23x0 drivers: flash: Add support for cc23x0 flash 2025-02-04 11:56:05 +01:00
Kconfig.esp32
Kconfig.gd32
Kconfig.gecko
Kconfig.ifx_cat1 drivers: Remove CONFIG_PINCTRL in defconfig files 2024-09-23 18:08:14 -04:00
Kconfig.it8xxx2
Kconfig.lpc
Kconfig.max32 drivers: flash: Add MAX32xxx flash driver 2024-10-22 20:39:41 +02:00
Kconfig.mcux dts: nxp: Rename nxp,iap-msf1 to nxp,msf1 2024-10-09 18:23:39 +01:00
Kconfig.mspi drivers: flash: Add generic NOR flash driver for MSPI devices 2025-03-07 19:42:46 +01:00
Kconfig.nios2_qspi
Kconfig.nor drivers: flash: spi_nor: swap depends on and help in Kconfig.nor 2025-02-10 15:57:08 +00:00
Kconfig.nordic_qspi_nor
Kconfig.npcx_fiu drivers: flash: npcx: add setting of low flash device 2025-01-14 17:57:50 +01:00
Kconfig.nrf Bluetooth: Rename BLE to Bluetooth (LE) where applicable 2025-02-12 12:24:18 +01:00
Kconfig.nrf_mram
Kconfig.nrf_rram Bluetooth: Rename BLE to Bluetooth (LE) where applicable 2025-02-12 12:24:18 +01:00
Kconfig.numaker
Kconfig.numaker_rmc
Kconfig.nxp_s32 drivers: flash: add NXP S32 QSPI HyperFlash driver 2025-01-21 19:26:45 +01:00
Kconfig.renesas_ra Kconfig: Fix issue in KConfig of Renesas modules 2024-09-10 14:42:55 +01:00
Kconfig.rpi_pico
Kconfig.rv32m1
Kconfig.sam
Kconfig.sam0
Kconfig.si32 drivers: flash: Add Si32 support 2024-08-26 18:51:36 +02:00
Kconfig.silabs drivers: flash: silabs: Add DMA read support 2025-03-07 20:02:26 +01:00
Kconfig.simulator
Kconfig.siwx91x drivers: flash: Introduce SiWx91x Flash driver 2025-02-11 22:07:11 +01:00
Kconfig.smartbond
Kconfig.stm32 drivers: flash: stm32h7: add support for write protection 2025-02-06 14:45:06 +01:00
Kconfig.stm32_ospi drivers : flash: replace dt_nodelabel_has_prop() 2025-02-04 15:01:13 +01:00
Kconfig.stm32_qspi drivers : flash: replace dt_nodelabel_has_prop()in qspi 2025-02-04 15:01:13 +01:00
Kconfig.stm32_xspi drivers : flash: replace dt_nodelabel_has_prop()in xspi 2025-02-04 15:01:13 +01:00
Kconfig.xmc4xxx
nrf_qspi_nor.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
soc_flash_b91.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
soc_flash_cc13xx_cc26xx.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
soc_flash_cc23x0.c drivers: flash: Wrap driver instances in device API macro 2025-02-12 16:06:25 +01:00
soc_flash_lpc.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
soc_flash_mcux.c drivers: flash: soc_flash_mcux: remove CMD_MARGIN_CHECK 2025-01-06 17:13:49 +00:00
soc_flash_nios2_qspi.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
soc_flash_nrf_mram.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
soc_flash_nrf_rram.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
soc_flash_nrf.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
soc_flash_nrf.h
soc_flash_numaker_rmc.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
soc_flash_numaker.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
soc_flash_rv32m1.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
soc_flash_silabs_series2.c drivers: flash: silabs: Add DMA read support 2025-03-07 20:02:26 +01:00
soc_flash_silabs_siwx91x.c drivers: flash: Introduce SiWx91x Flash driver 2025-02-11 22:07:11 +01:00
soc_flash_xmc4xxx.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
spi_flash_at45.c drivers: flash: Place API into iterable section 2024-12-02 22:08:48 +00:00
spi_nor.c drivers: flash: spi_nor: fix few printf format warnings again 2025-03-06 09:05:18 +00:00
spi_nor.h drivers: flash: spi_nor: add option for 4byte opcodes 2024-11-18 13:18:08 -05:00