[PATCH] Kconfig/fpgad: Add dependencies

Olliver Schinagl oliver at schinagl.nl
Thu Jan 23 07:15:25 CET 2020


Until the fpgad command is converted to driver model; it will depend on
some drivers to implement said features.

	cmd/built-in.o: In function `do_fpga_md':
	cmd/fpgad.c:73: undefined reference to `fpga_get_reg'
	cmd/fpgad.c:85: undefined reference to `fpga_ptr'

Signed-off-by: Olliver Schinagl <oliver at schinagl.nl>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 6e1efaaf85..0925236c0c 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -924,6 +924,7 @@ config CMD_FPGA_LOAD_SECURE
 
 config CMD_FPGAD
 	bool "fpgad - dump FPGA registers"
+	depends on HRCON || STRIDER
 	help
 	  (legacy, needs conversion to driver model)
 	  Provides a way to dump FPGA registers by calling the board-specific
-- 
2.20.1



More information about the U-Boot mailing list