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:
Kumar Gala 2020-04-06 09:59:03 -05:00 committed by Kumar Gala
commit 43a7d26603
61 changed files with 131 additions and 92 deletions

View file

@ -7,6 +7,10 @@
#include <st/f4/stm32f401.dtsi>
/ {
chosen {
zephyr,entropy = &rng;
};
soc {
pinctrl: pin-controller@40020000 {
reg = <0x40020000 0x2400>;