drivers: entropy: replace CONFIG_ENTROPY_NAME with DT macro
Replace CONFIG_ENTROPY_NAME with DT_CHOSEN_ZEPHYR_ENTROPY_LABEL. We now set zephyr,entropy in the chosen node of the device tree to the entropy device. This allows us to remove CONFIG_ENTROPY_NAME from dts_fixup.h. Also remove any other stale ENTROPY related defines in dts_fixup.h files. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
ffd1abde66
commit
43a7d26603
61 changed files with 131 additions and 92 deletions
|
@ -6,10 +6,6 @@
|
|||
|
||||
/* SoC level DTS fixup file */
|
||||
|
||||
#ifndef CONFIG_ENTROPY_NAME
|
||||
#define CONFIG_ENTROPY_NAME DT_LABEL(DT_INST(0, nordic_nrf_rng))
|
||||
#endif
|
||||
|
||||
#define DT_NUM_IRQ_PRIO_BITS \
|
||||
DT_ARM_V8M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue