Convert CONFIG_CMD_FPGAD to Kconfig

This converts the following to Kconfig:
   CONFIG_CMD_FPGAD

Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 99082c1..99e42e4 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -593,6 +593,14 @@
 	help
 	  FPGA support.
 
+config CMD_FPGAD
+	bool "fpgad - dump FPGA registers"
+	help
+	  (legacy, needs conversion to driver model)
+	  Provides a way to dump FPGA registers by calling the board-specific
+	  fpga_get_reg() function. This functions similarly to the 'md'
+	  command.
+
 config CMD_REMOTEPROC
 	bool "remoteproc"
 	depends on REMOTEPROC
diff --git a/configs/hrcon_defconfig b/configs/hrcon_defconfig
index afb0154..cf89ebe 100644
--- a/configs/hrcon_defconfig
+++ b/configs/hrcon_defconfig
@@ -15,6 +15,7 @@
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FPGAD=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/hrcon_dh_defconfig b/configs/hrcon_dh_defconfig
index ce8b797..c5512e7 100644
--- a/configs/hrcon_dh_defconfig
+++ b/configs/hrcon_dh_defconfig
@@ -14,6 +14,7 @@
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FPGAD=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
diff --git a/configs/iocon_defconfig b/configs/iocon_defconfig
index 2529181..eeeb933 100644
--- a/configs/iocon_defconfig
+++ b/configs/iocon_defconfig
@@ -17,6 +17,7 @@
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
 CONFIG_LOOPW=y
+CONFIG_CMD_FPGAD=y
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_MII=y
diff --git a/configs/strider_con_defconfig b/configs/strider_con_defconfig
index 51a5085..099d407 100644
--- a/configs/strider_con_defconfig
+++ b/configs/strider_con_defconfig
@@ -17,6 +17,7 @@
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FPGAD=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/strider_con_dp_defconfig b/configs/strider_con_dp_defconfig
index 9524c9c..754db3d 100644
--- a/configs/strider_con_dp_defconfig
+++ b/configs/strider_con_dp_defconfig
@@ -17,6 +17,7 @@
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FPGAD=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/strider_cpu_defconfig b/configs/strider_cpu_defconfig
index 090d7e8..692e883 100644
--- a/configs/strider_cpu_defconfig
+++ b/configs/strider_cpu_defconfig
@@ -17,6 +17,7 @@
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FPGAD=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/strider_cpu_dp_defconfig b/configs/strider_cpu_dp_defconfig
index ec715f1..18e33a2 100644
--- a/configs/strider_cpu_dp_defconfig
+++ b/configs/strider_cpu_dp_defconfig
@@ -17,6 +17,7 @@
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
+CONFIG_CMD_FPGAD=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/include/configs/hrcon.h b/include/configs/hrcon.h
index 5574e77..cfebd2d 100644
--- a/include/configs/hrcon.h
+++ b/include/configs/hrcon.h
@@ -26,7 +26,6 @@
 #define CONFIG_FSL_ESDHC
 #define CONFIG_SYS_FSL_ESDHC_ADDR	CONFIG_SYS_MPC83xx_ESDHC_ADDR
 
-#define CONFIG_CMD_FPGAD
 #define CONFIG_CMD_IOLOOP
 
 /*
diff --git a/include/configs/iocon.h b/include/configs/iocon.h
index 379665d..1d13c24 100644
--- a/include/configs/iocon.h
+++ b/include/configs/iocon.h
@@ -54,7 +54,6 @@
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#define CONFIG_CMD_FPGAD
 #undef CONFIG_CMD_IRQ
 
 /*
diff --git a/include/configs/strider.h b/include/configs/strider.h
index 1298808..539557d 100644
--- a/include/configs/strider.h
+++ b/include/configs/strider.h
@@ -28,7 +28,6 @@
 
 #define CONFIG_SYS_ALT_MEMTEST
 
-#define CONFIG_CMD_FPGAD
 #define CONFIG_CMD_IOLOOP
 
 /*
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 7653d79..ffec0a1 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -383,7 +383,6 @@
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_FPGAD
 CONFIG_CMD_FPGA_LOADBP
 CONFIG_CMD_FPGA_LOADFS
 CONFIG_CMD_FPGA_LOADMK