]> granicus.if.org Git - esp-idf/commit
spi_flash: Fixed bug in SPI flash ROM driver to work with embedded flash chip
authorAlexey Gerenkov <alexey@espressif.com>
Thu, 9 Mar 2017 07:29:00 +0000 (10:29 +0300)
committerIvan Grokhotkov <ivan@espressif.com>
Tue, 11 Apr 2017 02:51:19 +0000 (10:51 +0800)
commit0860f46220b5bafc5592bc8f0faf67c9c8b0ed77
tree78af70708ead5ae675652f4b755e63120148b754
parent375b28650bd1c90d6ac706f63cde9a64d9a7e3e5
spi_flash: Fixed bug in SPI flash ROM driver to work with embedded flash chip

1) fixed SPI_read_status: added check for flash busy flag in matrix mode
2) fixed SPI_page_program: enable write before writing data to SPI FIFO
3) SPI flash ROM funcs replacement is controlled via menuconfig option
15 files changed:
components/bootloader/src/main/bootloader_start.c
components/bootloader/src/main/component.mk
components/bootloader/src/main/flash_qio_mode.c
components/bootloader_support/src/bootloader_flash.c
components/esp32/component.mk
components/esp32/include/rom/spi_flash.h
components/esp32/ld/esp32.common.ld
components/esp32/ld/esp32.rom.ld
components/esp32/ld/esp32.rom.spiflash.ld [new file with mode: 0644]
components/spi_flash/Kconfig
components/spi_flash/flash_ops.c
components/spi_flash/spi_flash_rom_patch.c
components/spi_flash/test/test_partitions.c
components/spi_flash/test/test_read_write.c
docs/security/flash-encryption.rst