From: Simon Glass Date: Wed, 17 May 2017 09:25:20 +0000 (-0600) Subject: Convert CONFIG_CMD_FPGAD to Kconfig X-Git-Tag: v2017.07-rc1~221 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=df1c489adec1530aea44b806c3c8a87ebaaf0050;p=u-boot Convert CONFIG_CMD_FPGAD to Kconfig This converts the following to Kconfig: CONFIG_CMD_FPGAD Signed-off-by: Simon Glass --- diff --git a/cmd/Kconfig b/cmd/Kconfig index 99082c14f2..99e42e4b36 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -593,6 +593,14 @@ config CMD_FPGA 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 afb0154fcd..cf89ebe145 100644 --- a/configs/hrcon_defconfig +++ b/configs/hrcon_defconfig @@ -15,6 +15,7 @@ CONFIG_AUTOBOOT_KEYED=y 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 ce8b7972a4..c5512e71c4 100644 --- a/configs/hrcon_dh_defconfig +++ b/configs/hrcon_dh_defconfig @@ -14,6 +14,7 @@ CONFIG_BOARD_EARLY_INIT_F=y 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 2529181620..eeeb93371c 100644 --- a/configs/iocon_defconfig +++ b/configs/iocon_defconfig @@ -17,6 +17,7 @@ CONFIG_AUTOBOOT_STOP_STR=" " 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 51a50856a9..099d40714f 100644 --- a/configs/strider_con_defconfig +++ b/configs/strider_con_defconfig @@ -17,6 +17,7 @@ CONFIG_AUTOBOOT_STOP_STR=" " 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 9524c9c6f2..754db3d2d8 100644 --- a/configs/strider_con_dp_defconfig +++ b/configs/strider_con_dp_defconfig @@ -17,6 +17,7 @@ CONFIG_AUTOBOOT_STOP_STR=" " 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 090d7e8efc..692e883e75 100644 --- a/configs/strider_cpu_defconfig +++ b/configs/strider_cpu_defconfig @@ -17,6 +17,7 @@ CONFIG_AUTOBOOT_STOP_STR=" " 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 ec715f1180..18e33a2e6b 100644 --- a/configs/strider_cpu_dp_defconfig +++ b/configs/strider_cpu_dp_defconfig @@ -17,6 +17,7 @@ CONFIG_AUTOBOOT_STOP_STR=" " 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 5574e7715a..cfebd2d26e 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 379665d26b..1d13c24566 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 1298808b13..539557d972 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 7653d79bd4..ffec0a1d22 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -383,7 +383,6 @@ CONFIG_CM922T_XA10 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