kconfig: Convert FPGA_SOCFPGA configuration to Kconfig
This converts the following to Kconfig: CONFIG_FPGA_SOCFPGA Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com> Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com> Reviewed-by: Dinh Nguyen <dinguyen@kernel.org>
This commit is contained in:
parent
c2caaee73e
commit
fa23ba1aa5
@ -41,6 +41,7 @@ CONFIG_CMD_UBI=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_FPGA_SOCFPGA=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_DWAPB_GPIO=y
|
||||
CONFIG_SYS_I2C_DW=y
|
||||
|
@ -41,6 +41,7 @@ CONFIG_CMD_UBI=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_FPGA_SOCFPGA=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_DWAPB_GPIO=y
|
||||
CONFIG_SYS_I2C_DW=y
|
||||
|
@ -40,6 +40,7 @@ CONFIG_CMD_FS_GENERIC=y
|
||||
CONFIG_CMD_UBI=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_FPGA_SOCFPGA=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_DWAPB_GPIO=y
|
||||
CONFIG_SYS_I2C_DW=y
|
||||
|
@ -38,6 +38,7 @@ CONFIG_CMD_FAT=y
|
||||
CONFIG_CMD_FS_GENERIC=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_FPGA_SOCFPGA=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_DWAPB_GPIO=y
|
||||
CONFIG_SYS_I2C_DW=y
|
||||
|
@ -39,6 +39,7 @@ CONFIG_CMD_EXT4_WRITE=y
|
||||
CONFIG_CMD_FAT=y
|
||||
CONFIG_CMD_FS_GENERIC=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_FPGA_SOCFPGA=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_DWAPB_GPIO=y
|
||||
CONFIG_SYS_I2C_DW=y
|
||||
|
@ -35,6 +35,7 @@ CONFIG_CMD_FS_GENERIC=y
|
||||
CONFIG_CMD_UBI=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_FPGA_SOCFPGA=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_DWAPB_GPIO=y
|
||||
CONFIG_SYS_I2C_DW=y
|
||||
|
@ -39,6 +39,7 @@ CONFIG_CMD_FS_GENERIC=y
|
||||
CONFIG_CMD_UBI=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_FPGA_SOCFPGA=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_DWAPB_GPIO=y
|
||||
CONFIG_SYS_I2C_DW=y
|
||||
|
@ -41,6 +41,7 @@ CONFIG_CMD_UBI=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_FPGA_SOCFPGA=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_DWAPB_GPIO=y
|
||||
CONFIG_SYS_I2C_DW=y
|
||||
|
@ -42,6 +42,7 @@ CONFIG_CMD_UBI=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_FPGA_SOCFPGA=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_DWAPB_GPIO=y
|
||||
CONFIG_SYS_I2C_DW=y
|
||||
|
@ -41,6 +41,7 @@ CONFIG_CMD_FS_GENERIC=y
|
||||
CONFIG_CMD_UBI=y
|
||||
CONFIG_SPL_DM=y
|
||||
CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_FPGA_SOCFPGA=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_DWAPB_GPIO=y
|
||||
CONFIG_SYS_I2C_DW=y
|
||||
|
@ -46,6 +46,7 @@ CONFIG_SPL_DM_SEQ_ALIAS=y
|
||||
CONFIG_DFU_MMC=y
|
||||
CONFIG_DFU_RAM=y
|
||||
CONFIG_DFU_SF=y
|
||||
CONFIG_FPGA_SOCFPGA=y
|
||||
CONFIG_DM_GPIO=y
|
||||
CONFIG_DWAPB_GPIO=y
|
||||
CONFIG_LED_STATUS=y
|
||||
|
@ -13,6 +13,14 @@ config FPGA_ALTERA
|
||||
Enable Altera FPGA specific functions which includes bitstream
|
||||
(in BIT format), fpga and device validation.
|
||||
|
||||
config FPGA_SOCFPGA
|
||||
bool "Enable Gen5 and Arria10 common FPGA drivers"
|
||||
select FPGA_ALTERA
|
||||
help
|
||||
Say Y here to enable the Gen5 and Arria10 common FPGA driver
|
||||
|
||||
This provides common functionality for Gen5 and Arria10 devices.
|
||||
|
||||
config FPGA_CYCLON2
|
||||
bool "Enable Altera FPGA driver for Cyclone II"
|
||||
depends on FPGA_ALTERA
|
||||
|
@ -105,9 +105,6 @@
|
||||
*/
|
||||
#ifdef CONFIG_TARGET_SOCFPGA_GEN5
|
||||
#ifdef CONFIG_CMD_FPGA
|
||||
#define CONFIG_FPGA
|
||||
#define CONFIG_FPGA_ALTERA
|
||||
#define CONFIG_FPGA_SOCFPGA
|
||||
#define CONFIG_FPGA_COUNT 1
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user