zephyr/drivers/entropy
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: entropy: add Atmel SAM entropy generator driver 2018-11-14 12:58:49 -05:00
Kconfig drivers: entropy: add Atmel SAM entropy generator driver 2018-11-14 12:58:49 -05:00
Kconfig.esp32 kconfig: drivers: entropy: Remove duplicated ENTROPY_GENERATOR deps. 2019-03-07 13:38:35 +01:00
Kconfig.mcux kconfig: drivers: entropy: Remove duplicated ENTROPY_GENERATOR deps. 2019-03-07 13:38:35 +01:00
Kconfig.native_posix kconfig: drivers: entropy: Remove duplicated ENTROPY_GENERATOR deps. 2019-03-07 13:38:35 +01:00
Kconfig.nrf5 drivers: nrf: add support for forcing driver implementation 2019-03-20 10:27:28 -05:00
Kconfig.sam kconfig: drivers: entropy: Remove duplicated ENTROPY_GENERATOR deps. 2019-03-07 13:38:35 +01:00
Kconfig.stm32 kconfig: drivers: entropy: Remove duplicated ENTROPY_GENERATOR deps. 2019-03-07 13:38:35 +01:00
entropy_esp32.c
entropy_handlers.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
entropy_mcux_rnga.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
entropy_mcux_trng.c drivers: entropy: mcux_trng: get the base address from the device tree 2019-01-10 21:22:15 -06:00
entropy_nrf5.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
entropy_sam.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00
entropy_stm32.c drivers: entropy: stm32: fix invalid assert in rng init 2019-03-02 17:44:47 +01:00
fake_entropy_native_posix.c include: misc: util.h: Rename min/max to MIN/MAX 2019-02-14 22:16:03 -05:00