diff mbox series

[1/3] fpga: Convert SYS_FPGA_CHECK_CTRLC to Kconfig

Message ID 20220629071427.12470-2-ada@thorsis.com
State Superseded
Delegated to: Michal Simek
Headers show
Series fpga: Convert some options to Kconfig | expand

Commit Message

Alexander Dahl June 29, 2022, 7:14 a.m. UTC
After commit 8cca60a2cbf2 ("Kconfig: Remove some symbols from the
whitelist") downstream builds failed for boards setting this in
include/configs/…

Two FPGA drivers consider this definition.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 README               | 3 ---
 drivers/fpga/Kconfig | 4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)


base-commit: 568a226f87655fd5339514f66413c2ad72f65d6f
diff mbox series

Patch

diff --git a/README b/README
index b7ab6e5070..3bf7c9dd4e 100644
--- a/README
+++ b/README
@@ -1418,9 +1418,6 @@  The following options need to be configured:
 		If defined, a function that provides delays in the FPGA
 		configuration driver.
 
-		CONFIG_SYS_FPGA_CHECK_CTRLC
-		Allow Control-C to interrupt FPGA configuration
-
 		CONFIG_SYS_FPGA_CHECK_ERROR
 
 		Check for configuration errors during FPGA bitfile
diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index dc0b3dd31b..ac5641c75a 100644
--- a/drivers/fpga/Kconfig
+++ b/drivers/fpga/Kconfig
@@ -85,4 +85,8 @@  config FPGA_ZYNQPL
 	  Enable FPGA driver for loading bitstream in BIT and BIN format
 	  on Xilinx Zynq devices.
 
+config SYS_FPGA_CHECK_CTRLC
+	bool "Allow Control-C to interrupt FPGA configuration"
+	depends on FPGA
+
 endmenu