This converts the following to Kconfig: CONFIG_CMD_FPGAD Signed-off-by: Simon Glass <s...@chromium.org> ---
Changes in v3: None Changes in v2: None cmd/Kconfig | 8 ++++++++ configs/hrcon_defconfig | 1 + configs/hrcon_dh_defconfig | 1 + configs/iocon_defconfig | 1 + configs/strider_con_defconfig | 1 + configs/strider_con_dp_defconfig | 1 + configs/strider_cpu_defconfig | 1 + configs/strider_cpu_dp_defconfig | 1 + include/configs/hrcon.h | 1 - include/configs/iocon.h | 1 - include/configs/strider.h | 1 - scripts/config_whitelist.txt | 1 - 12 files changed, 15 insertions(+), 4 deletions(-) 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 c74df944a6..b3ee66d7f6 100644 --- a/configs/iocon_defconfig +++ b/configs/iocon_defconfig @@ -16,6 +16,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 e15adfcbb0..0d81ac1b2f 100644 --- a/include/configs/iocon.h +++ b/include/configs/iocon.h @@ -57,7 +57,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 cb537d8637..e8212938bb 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 -- 2.13.0.303.g4ebf302169-goog _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot