zephyr/drivers/flash
Dominik Ermel 92b299ff28 drivers/flash/flash_shell: Check for read error before verification
The cmd_write contains write verification that compares what has
been written with what it can read; the flash read operation
status was not checked which means that the bus or communication
problem was reported the same way as malformed write.
There have also been some optimization done by removal
of multiplications.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2022-04-12 10:05:40 -05:00
..
CMakeLists.txt drivers: flash: the chosen_flash variable was not read properly 2021-11-02 13:23:56 +01:00
flash_esp32.c drivers: flash: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
flash_gecko.c drivers: remove redundant DEV_NAME helpers 2022-03-15 17:31:51 -04:00
flash_handlers.c drivers/flash: remove flash_write_protection API 2022-02-01 10:46:28 +01:00
flash_ite_it8xxx2.c ITE: drivers/flash: remove flash write protection API 2022-03-17 11:32:51 +01:00
flash_mcux_flexspi_hyperflash.c drivers: flash: flash_mcux_flexspi_hyperflash: move device data to RAM 2022-03-22 23:14:00 -05:00
flash_mcux_flexspi_mx25um51345g.c drivers: flash: flash_mcux_flexspi_mx25um51345g: move device data to RAM 2022-03-22 23:14:00 -05:00
flash_mcux_flexspi_nor.c drivers: flash: flash_mcux_flexspi_nor: move device data to RAM 2022-03-22 23:14:00 -05:00
flash_page_layout.c flash_page_layout: refactor flash_page_get_info 2021-07-10 14:48:22 -04:00
flash_priv.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
flash_sam.c drivers: fix style issues 2022-01-19 18:16:02 +01:00
flash_sam0.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
flash_shell.c drivers/flash/flash_shell: Check for read error before verification 2022-04-12 10:05:40 -05:00
flash_simulator.c all: Deprecate UTIL_LISTIFY and replace with LISTIFY 2022-03-08 11:03:30 +01:00
flash_stm32.c drivers: flash: Refactor drivers to use shared init priority 2022-01-17 11:51:09 -05:00
flash_stm32.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
flash_stm32_qspi.c drivers: remove redundant DEV_NAME helpers 2022-03-15 17:31:51 -04:00
flash_stm32_v1.c drivers: flash_stm32_v1: fix a potential unaligned access 2021-06-08 11:15:59 -05:00
flash_stm32f2x.c drivers/flash: STM32: Adding flash driver for nucleo_f207zg 2021-06-17 12:40:39 +02:00
flash_stm32f4x.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
flash_stm32f7x.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
flash_stm32g0x.c drivers: flash: stm32g0: dual bank handling 2021-11-17 11:06:59 -05:00
flash_stm32g4x.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
flash_stm32h7x.c drivers: flash: Refactor drivers to use shared init priority 2022-01-17 11:51:09 -05:00
flash_stm32l4x.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
flash_stm32l5x.c STM32L5: flash: enable support for DBANK == 0 2022-02-21 20:56:58 -05:00
flash_stm32wbx.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
jesd216.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
jesd216.h drivers: nrf_qspi_nor: Add support for S2B1 QER 2022-03-24 14:54:05 +01:00
Kconfig kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.at45 drivers: flash: spi nor: Add missing flash layout conf 2020-11-17 16:44:03 -05:00
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 drivers/flash: select to allow flash write by MPU on ARM SoCs 2021-01-25 08:59:01 -05:00
Kconfig.it8xxx2 ite: drivers/flash: add flash driver for it8xxx2 2021-06-22 15:15:20 -04:00
Kconfig.lpc drivers: soc_flash_lpc: LPC legacy flash driver 2021-01-23 08:01:00 -05:00
Kconfig.mcux drivers: flash: added flexspi hyperflash. 2021-10-19 16:42:12 -05:00
Kconfig.nios2_qspi license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
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_nor: Default write_from_nvmc buffer size to 4 2021-12-20 17:52:00 +01: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: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.sam drivers: flash: Kconfig.sam: -depends on and +dfu sample exclude 2021-09-02 13:23:47 -04: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: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.stm32 drivers/flash: stm32l5: Adding flash driver for stm32l5x series 2021-08-04 10:26:06 -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: nrf_qspi_nor: Add support for S2B1 QER 2022-03-24 14:54:05 +01:00
soc_flash_b91.c drivers: flash: Refactor drivers to use shared init priority 2022-01-17 11:51:09 -05:00
soc_flash_lpc.c drivers: flash: Refactor drivers to use shared init priority 2022-01-17 11:51:09 -05:00
soc_flash_mcux.c drivers: flash: Refactor drivers to use shared init priority 2022-01-17 11:51:09 -05:00
soc_flash_nios2_qspi.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
soc_flash_nrf.c drivers: flash: Refactor drivers to use shared init priority 2022-01-17 11:51:09 -05:00
soc_flash_nrf.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
soc_flash_nrf_ticker.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
soc_flash_rv32m1.c drivers: flash: Refactor drivers to use shared init priority 2022-01-17 11:51:09 -05:00
spi_flash_at45.c drivers: flash: drop get_dev_data/get_dev_config usage 2022-01-19 18:16:02 +01:00
spi_nor.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
spi_nor.h drivers: nrf_qspi_nor: Add support for S2B1 QER 2022-03-24 14:54:05 +01:00