zephyr/drivers/flash
Thomas Stenersen db90e24326 drivers: nrf: add support for forcing driver implementation
An external project extending the Zephyr RTOS and its drivers may have
subsystems that must use its own specific driver(s) when active. One
example is the nRF5x NVMC that must be scheduled in between radio
operations. A subsystem may also be dependent on its own drivers for
security, real-time and/or because of hardware constrains.

In order to not introduce non-Zephyr specific code into the Zephyr tree,
an option is added to disable the in-tree drivers in Zephyr. Because
Kconfig does not support a good way of de-selecting other symbols, a
variable on the form `<DRIVER>_FORCE_ALT` is added as a
dependency for each `<DRIVER>`. For example, the out-of-tree subsystem
will select `FLASH_NRF_FORCE_ALT` to disable the in-tree driver. A
solution for issue #8181 would open up for a more general solution,
however #8181 requires significant effort.

Support for out-of-tree drivers is added to Nordic drivers for
clock_control, entropy and flash.

A generic solution for this is desired. Issue #14527 is tracking that
progress.

Signed-off-by: Thomas Stenersen <thomas.stenersen@nordicsemi.no>
2019-03-20 10:27:28 -05:00
..
CMakeLists.txt drivers/flash: Rework CMakeLists.txt for stm32 drivers 2019-02-19 07:45:50 -06:00
Kconfig kconfig: Use depend on instead of select to avoid kconfig loop 2019-03-12 19:42:40 +01:00
Kconfig.gecko kconfig: drivers: flash: Remove redundant FLASH dependencies 2019-03-09 09:56:40 -05:00
Kconfig.mcux soc: nxp_kinetis: Add HAS_MCUX_FTFX to conditionalize mcux flash driver 2019-03-06 21:19:25 -06:00
Kconfig.nios2_qspi kconfig: flash: Move nios code into it's own file 2019-02-15 14:12:48 -05:00
Kconfig.nor kconfig: drivers: flash: Remove redundant FLASH dependencies 2019-03-09 09:56:40 -05:00
Kconfig.nrf drivers: nrf: add support for forcing driver implementation 2019-03-20 10:27:28 -05:00
Kconfig.qmsi kconfig: drivers: flash: Remove redundant FLASH dependencies 2019-03-09 09:56:40 -05:00
Kconfig.sam
Kconfig.sam0
Kconfig.stm32 drivers/flash: Move STM32F3 to generic STM32 series driver 2019-02-19 07:45:50 -06:00
Kconfig.w25qxxdv
flash_gecko.c flash: flash_gecko: Convert FLASH_WRITE_BLOCK_SIZE to DT_ 2019-02-08 22:39:07 -06:00
flash_handlers.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
flash_page_layout.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
flash_priv.h
flash_sam.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
flash_sam0.c
flash_shell.c shell: Modify subcommands to use SHELL_STATIC_SUBCMD_SET_CREATE 2019-02-20 07:31:35 -05:00
flash_stm32.c drivers/flash: stm32f3/stm32f1: define flash registers as volatile 2019-03-15 06:43:24 -05:00
flash_stm32.h drivers/flash: Move STM32F3 to generic STM32 series driver 2019-02-19 07:45:50 -06:00
flash_stm32f0x.c
flash_stm32f3x.c drivers/flash: stm32f3/stm32f1: define flash registers as volatile 2019-03-15 06:43:24 -05:00
flash_stm32f4x.c
flash_stm32f7x.c
flash_stm32l4x.c flash: stm32l4: disable dcache before writting 2019-03-19 09:56:01 -05:00
soc_flash_mcux.c flash: soc_flash_mcux: Convert FLASH_ERASE_BLOCK_SIZE to DT_ 2019-02-08 22:39:07 -06:00
soc_flash_nios2_qspi.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
soc_flash_nrf.c
soc_flash_qmsi.c device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
spi_flash_w25qxxdv.c
spi_flash_w25qxxdv.h
spi_flash_w25qxxdv_defs.h
spi_nor.c drivers: flash: spi_nor.c: Correct the calculation of SECTORS_COUNT 2019-02-14 22:18:25 -05:00
spi_nor.h