diff mbox series

Kconfig/fpgad: Add dependencies

Message ID 20200123061525.15370-1-oliver@schinagl.nl
State New
Delegated to: Michal Simek
Headers show
Series Kconfig/fpgad: Add dependencies | expand

Commit Message

Olliver Schinagl Jan. 23, 2020, 6:15 a.m. UTC
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@schinagl.nl>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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