[PATCH] rng: Fix build with SPL/TPL

Jörg Sommer <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <ef549c4de7c2fb98e1e8554b5c7af761cdd15031.1787238864.git.joerg@jo-so.de>
The inclusion of the drivers was wrapped by an “if not SPL/TPL”, which
always excluded them from SPL/TPL build.

Signed-off-by: Jörg Sommer <[email protected]>
Fixes: 591257b05caba725eb57ceb174317ab4c7e460a7 (rng: Introduce SPL_DM_RNG)
---
 drivers/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/Makefile b/drivers/Makefile
index 4c7ba741acb..269c3db12e8 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -32,6 +32,7 @@ obj-$(CONFIG_$(PHASE_)PHY) += phy/
 obj-$(CONFIG_$(PHASE_)PINCTRL) += pinctrl/
 obj-$(CONFIG_$(PHASE_)POWER) += power/
 obj-$(CONFIG_$(PHASE_)RAM) += ram/
+obj-$(CONFIG_$(PHASE_)DM_RNG) += rng/
 obj-$(CONFIG_$(PHASE_)RTC) += rtc/
 obj-$(CONFIG_$(PHASE_)SERIAL) += serial/
 obj-$(CONFIG_$(PHASE_)SPI) += spi/
@@ -132,7 +133,6 @@ obj-$(CONFIG_W1_EEPROM) += w1-eeprom/
 obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
 obj-$(CONFIG_FUZZ) += fuzz/
 obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/
-obj-$(CONFIG_$(PHASE_)DM_RNG) += rng/
 endif
 
 obj-y += soc/
-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.