]> git.sur5r.net Git - u-boot/commitdiff
Convert CONFIG_CMD_FPGA_LOADBP et al to Kconfig
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 09:25:21 +0000 (03:25 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 22 May 2017 13:33:57 +0000 (09:33 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_FPGA_LOADBP
   CONFIG_CMD_FPGA_LOADFS
   CONFIG_CMD_FPGA_LOADMK
   CONFIG_CMD_FPGA_LOADP

Signed-off-by: Simon Glass <sjg@chromium.org>
23 files changed:
README
arch/Kconfig
cmd/Kconfig
configs/astro_mcf5373l_defconfig
configs/mt_ventoux_defconfig
configs/x600_defconfig
configs/zynq_microzed_defconfig
configs/zynq_picozed_defconfig
configs/zynq_zc702_defconfig
configs/zynq_zc706_defconfig
configs/zynq_zc770_xm010_defconfig
configs/zynq_zc770_xm011_defconfig
configs/zynq_zc770_xm012_defconfig
configs/zynq_zc770_xm013_defconfig
configs/zynq_zed_defconfig
configs/zynq_zybo_defconfig
include/configs/astro_mcf5373l.h
include/configs/mt_ventoux.h
include/configs/topic_miami.h
include/configs/x600.h
include/configs/x86-common.h
include/configs/zynq-common.h
scripts/config_whitelist.txt

diff --git a/README b/README
index 34d1860410492fecd0af2c24dc3b034b5a374263..41da5c3099498901dbe8ac650e525a85c67dde63 100644 (file)
--- a/README
+++ b/README
@@ -2384,19 +2384,6 @@ The following options need to be configured:
 
                Specify the number of FPGA devices to support.
 
-               CONFIG_CMD_FPGA_LOADMK
-
-               Enable support for fpga loadmk command
-
-               CONFIG_CMD_FPGA_LOADP
-
-               Enable support for fpga loadp command - load partial bitstream
-
-               CONFIG_CMD_FPGA_LOADBP
-
-               Enable support for fpga loadbp command - load partial bitstream
-               (Xilinx only)
-
                CONFIG_SYS_FPGA_PROG_FEEDBACK
 
                Enable printing of hash marks during FPGA configuration.
index 2528f50efa73e8e59546a6e00ca7be999fef382f..77e1a3ec7ebb56be8a6973e1360f850e994e5918 100644 (file)
@@ -86,6 +86,7 @@ config X86
        select DM_SPI_FLASH
        select USB_EHCI_HCD
        select DM_MMC if MMC
+       imply CMD_FPGA_LOADMK
 
 config XTENSA
        bool "Xtensa architecture"
index 99e42e4b362cf6546dd20362bf0a3a6d17f6dc3f..16cf961f3ee62361d7f50345b008cca1d0c0f90a 100644 (file)
@@ -593,6 +593,32 @@ config CMD_FPGA
        help
          FPGA support.
 
+config CMD_FPGA_LOADBP
+       bool "fpga loadbp - load partial bitstream (Xilinx only)"
+       depends on CMD_FPGA
+       help
+         Supports loading an FPGA device from a bitstream buffer containing
+         a partial bitstream.
+
+config CMD_FPGA_LOADFS
+       bool "fpga loadfs - load bitstream from FAT filesystem (Xilinx only)"
+       depends on CMD_FPGA
+       help
+         Supports loading an FPGA device from a FAT filesystem.
+
+config CMD_FPGA_LOADMK
+       bool "fpga loadmk - load bitstream from image"
+       depends on CMD_FPGA
+       help
+         Supports loading an FPGA device from a image generated by mkimage.
+
+config CMD_FPGA_LOADP
+       bool "fpga loadp - load partial bitstream"
+       depends on CMD_FPGA
+       help
+         Supports loading an FPGA device from a bitstream buffer containing
+         a partial bitstream.
+
 config CMD_FPGAD
        bool "fpgad - dump FPGA registers"
        help
index d5e84308d645b164858cdc6d3bacf23c1ac56c37..c35222b244f0470f0d484f49eea33cf4359caf3f 100644 (file)
@@ -5,6 +5,7 @@ CONFIG_BOOTDELAY=1
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="URMEL > "
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FPGA_LOADMK=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
index e426772b153c7ca7c48b6a594b0541b8b5ab294a..c4a6f2063f243aeea63835fca9cff1d357a98d0a 100644 (file)
@@ -17,6 +17,7 @@ CONFIG_CMD_EEPROM=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_FPGA_LOADMK=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
index 3aaba16c2ef0ddd0fab5f474d4f7286806f45235..2e5d5f1ae852a0c3b3aa86f57053f189f5730574 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_LOOPW=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_FPGA_LOADMK=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
index 40936183255e63bb36a1d0dbb9998762dac0a1cd..2d7fffc1f4fd073693bfce0d3ddec64a6a070e36 100644 (file)
@@ -16,6 +16,10 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
index 3c3a5b29b047fb63e4d9171388f650bb8b7cb747..7ca69a973cc70faa5e2a892613ad45e57a28ba94 100644 (file)
@@ -12,6 +12,10 @@ CONFIG_SYS_PROMPT="Zynq> "
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
index 83e8f65082ec54508fdd8e256fd86ce20a841089..44e6850d8b41ce52a73f199822a28d6ca4aa3d0b 100644 (file)
@@ -19,6 +19,10 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
index 9dbf47f496aa6f0e23d55284c98287b9adf78bd6..825346abd67ee6fc248e108b81dfc6d1e3510510 100644 (file)
@@ -19,6 +19,10 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
index ececcb4f95f0f4c59307bcb14ac78b1479c19c49..a1ef49f25078858489417bc5475b80a659e5d3ff 100644 (file)
@@ -15,6 +15,10 @@ CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
index 980382ce69f365a2189319f06cafb1a27c92c5f9..dc49372e48fba790d9452c9c99b3d7946e2370e7 100644 (file)
@@ -14,6 +14,10 @@ CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_NAND=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
index 48caf3168367a3c1b85f3675c99a95d6a41ba145..16cd61311009e47564887801b59798816efd52d1 100644 (file)
@@ -11,6 +11,10 @@ CONFIG_SPL=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
index 23bcb0e44645a50116a41ee55a6df14d686e9ee9..4396db0eb151f67c0bab500b84b478120b5f37b4 100644 (file)
@@ -13,6 +13,10 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Zynq> "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
index 26a5320b61d0c0762d3af9a3a1afd98c7cc46f32..2887ca4167b2bd96640e21f98ff4347ed044eba9 100644 (file)
@@ -16,6 +16,10 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
index 8bed4e6809ecac74c1f630f179c1b503730741d9..e5be0d141ead198399e0f5be51178ac4e2dcf65c 100644 (file)
@@ -19,6 +19,10 @@ CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_DFU=y
+CONFIG_CMD_FPGA_LOADBP=y
+CONFIG_CMD_FPGA_LOADFS=y
+CONFIG_CMD_FPGA_LOADMK=y
+CONFIG_CMD_FPGA_LOADP=y
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_TFTPPUT=y
index 8899579faa766d89fa76cb0c00ed30ed997bfc79..084b78c1e3705a8b080b1e87c510f90cd2c5fff7 100644 (file)
@@ -63,7 +63,6 @@
 #define CONFIG_CMD_JFFS2
 #endif
 #define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_FPGA_LOADMK
 #define CONFIG_CMDLINE_EDITING
 
 #define CONFIG_MCFRTC
index 2e373175dc8af87538178d62fa5e8d7d4990a733..ed83eeba548cf0f5112d923f1b7eff97a3d77cb9 100644 (file)
@@ -39,7 +39,6 @@
 /*
  * FPGA
  */
-#define CONFIG_CMD_FPGA_LOADMK
 #define CONFIG_FPGA
 #define CONFIG_FPGA_XILINX
 #define CONFIG_FPGA_SPARTAN3
index 23160bd88d71d4a8c1ade30b0478ac08c4c87373..a28922585cd8d74b08908c133a99a8ad4e7dfacc 100644 (file)
 #undef CONFIG_SPL_FPGA_SUPPORT
 
 /* FPGA commands that we don't use */
-#undef CONFIG_CMD_FPGA_LOADMK
-#undef CONFIG_CMD_FPGA_LOADP
-#undef CONFIG_CMD_FPGA_LOADBP
-#undef CONFIG_CMD_FPGA_LOADFS
 
 /* Extras */
 #define CONFIG_CMD_MEMTEST
index afbd837cb83c41ad3baf88ebbfa21ca913fcb84a..c7d32fedb3c51eddb92aeb59440ed63753a5e050 100644 (file)
 /*
  * Command support defines
  */
-#define CONFIG_CMD_FPGA_LOADMK
 #define CONFIG_CMD_MTDPARTS
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_SAVES
index 29be55a840015ef9c7b84349d27d778921797ad1..8284076b089a60b3189944270794fdb599875212 100644 (file)
@@ -70,7 +70,6 @@
 /*-----------------------------------------------------------------------
  * Command line configuration.
  */
-#define CONFIG_CMD_FPGA_LOADMK
 #define CONFIG_CMD_IO
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
index 30bcea1b8d36c74c11153a4af05dfc02cb434a36..df4765c0760b9be1f327e4ffa854a4689c77e6cc 100644 (file)
 #define CONFIG_FPGA
 #define CONFIG_FPGA_XILINX
 #define CONFIG_FPGA_ZYNQPL
-#define CONFIG_CMD_FPGA_LOADMK
-#define CONFIG_CMD_FPGA_LOADP
-#define CONFIG_CMD_FPGA_LOADBP
-#define CONFIG_CMD_FPGA_LOADFS
 
 /* FIT support */
 #define CONFIG_IMAGE_FORMAT_LEGACY /* enable also legacy image format */
index ffec0a1d22728446a5f0a69b7b9e55aaa9f5db45..99380271369a53e55e4419329f117fb36d12d746 100644 (file)
@@ -383,10 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_FPGA_LOADBP
-CONFIG_CMD_FPGA_LOADFS
-CONFIG_CMD_FPGA_LOADMK
-CONFIG_CMD_FPGA_LOADP
 CONFIG_CMD_FUSE
 CONFIG_CMD_GETTIME
 CONFIG_CMD_GSC