]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_FPGA_STRATIX_V to Kconfig
authorTom Rini <trini@konsulko.com>
Mon, 13 Jun 2022 00:02:00 +0000 (20:02 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 28 Jun 2022 21:11:48 +0000 (17:11 -0400)
This converts the following to Kconfig:
   CONFIG_FPGA_STRATIX_V

Signed-off-by: Tom Rini <trini@konsulko.com>
configs/theadorable_debug_defconfig
drivers/fpga/Kconfig
include/configs/theadorable.h

index 25eb2e88ec1724b83f9b24ccd26ceb9f3719d27c..d47413c0a911dad4bdef0b8a79a54e1830bf9789 100644 (file)
@@ -71,6 +71,7 @@ CONFIG_LBA48=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_RAM=y
 CONFIG_FPGA_ALTERA=y
+CONFIG_FPGA_STRATIX_V=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
 # CONFIG_MMC is not set
index dc0b3dd31b7d1d95371ef3afd72c28d48f5fb0d2..76719517f541f920bdaf282604fd3e1c30603bff 100644 (file)
@@ -21,6 +21,12 @@ config FPGA_SOCFPGA
 
          This provides common functionality for Gen5 and Arria10 devices.
 
+config FPGA_STRATIX_V
+       bool "Enable Stratix V FPGA drivers"
+       depends on FPGA_ALTERA
+       help
+         Say Y here to enable the Altera Stratix V FPGA specific driver.
+
 config FPGA_CYCLON2
        bool "Enable Altera FPGA driver for Cyclone II"
        depends on FPGA_ALTERA
index 4f7c9647e2927343a4c96286f0d9c99cf0bdaccb..94e1acd98ba7c9624153f82f330a17937e029cb7 100644 (file)
@@ -40,9 +40,6 @@
        "fdt_high=0x10000000\0"         \
        "initrd_high=0x10000000\0"
 
-/* FPGA programming support */
-#define CONFIG_FPGA_STRATIX_V
-
 /*
  * Bootcounter
  */