kconfig: Convert FPGA and FPGA_ALTERA configuration to Kconfig
authorTien Fong Chee <tien.fong.chee@intel.com>
Wed, 26 Jul 2017 05:05:39 +0000 (13:05 +0800)
committerMarek Vasut <marex@denx.de>
Wed, 26 Jul 2017 08:31:44 +0000 (10:31 +0200)
This converts the following to Kconfig:
   CONFIG_FPGA
   CONFIG_FPGA_ALTERA

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>
configs/astro_mcf5373l_defconfig
configs/theadorable_debug_defconfig
configs/theadorable_defconfig
include/configs/astro_mcf5373l.h
include/configs/theadorable.h

index 888bb334bf6f1f5803c0edf29c1f9c49466a49c5..add26efc83708a17532e5fe6139323585a5958fe 100644 (file)
@@ -12,4 +12,5 @@ CONFIG_CMD_FPGA_LOADMK=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_JFFS2=y
+CONFIG_FPGA_ALTERA=y
 CONFIG_MTD_NOR_FLASH=y
index ada88e76a24257cdf333cd68c09ac87749c387d9..4d079292b3947b976c1c5002f121ead28bb83b8a 100644 (file)
@@ -44,6 +44,7 @@ CONFIG_EFI_PARTITION=y
 # CONFIG_SPL_PARTITION_UUIDS is not set
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_OF_TRANSLATE=y
+CONFIG_FPGA_ALTERA=y
 CONFIG_DM_GPIO=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
index a9b5fabade593538a7da299a320cfcdf2cce1d68..d89d86017311e0def85002d11ee807ac0e152675 100644 (file)
@@ -38,6 +38,7 @@ CONFIG_EFI_PARTITION=y
 # CONFIG_PARTITION_UUIDS is not set
 # CONFIG_SPL_PARTITION_UUIDS is not set
 CONFIG_SPL_OF_TRANSLATE=y
+CONFIG_FPGA_ALTERA=y
 CONFIG_DM_GPIO=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
index 723bc154b3bd863504c9b71129aa7131670aa181..7e373a2ca4da4186f7f5387f734d5e429e16f8f5 100644 (file)
 #define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 
 #define CONFIG_FPGA_COUNT      1
-#define CONFIG_FPGA
 #define        CONFIG_FPGA_XILINX
 #define        CONFIG_FPGA_SPARTAN3
-#define CONFIG_FPGA_ALTERA
 #define CONFIG_FPGA_CYCLON2
 #define CONFIG_SYS_FPGA_PROG_FEEDBACK
 #define CONFIG_SYS_FPGA_WAIT           1000
index 3f9b69aeda298d787d17093b0c946837a312ea73..e5edd5e8fd07d6a3f2c0d21095b3d1e8f4832edf 100644 (file)
@@ -86,8 +86,6 @@
 #define CONFIG_SYS_MEM_TOP_HIDE                0x80000
 
 /* FPGA programming support */
-#define CONFIG_FPGA
-#define CONFIG_FPGA_ALTERA
 #define CONFIG_FPGA_STRATIX_V
 
 /*