summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@opensource.altera.com>2015-12-02 13:31:25 -0600
committerMarek Vasut <marex@denx.de>2015-12-20 03:44:56 +0100
commited77aeb575934ff8ec202a7fe6e0cdc07f8cee3e (patch)
treeb184142b6cd12a5cbd7d59381d00f76ef7295543 /arch/arm
parentccf5648e0e3c4a61fe57109b39bf64c1cc1418c9 (diff)
downloadu-boot-imx-ed77aeb575934ff8ec202a7fe6e0cdc07f8cee3e.zip
u-boot-imx-ed77aeb575934ff8ec202a7fe6e0cdc07f8cee3e.tar.gz
u-boot-imx-ed77aeb575934ff8ec202a7fe6e0cdc07f8cee3e.tar.bz2
arm: socfpga: introduce TARGET_SOCFPGA_GEN5 config property
In order to re-use as much Cyclone5 and Arria5 code as possible to support the Arria10 platform, we need to wrap some of the code with #ifdef's. By adding CONFIG_TARGET_SOCFPGA_GEN5, we can shorten the check by not having to check for both AV || AV. Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-socfpga/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index 0cb9f9e..dea4ce5 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -2,9 +2,14 @@ if ARCH_SOCFPGA
config TARGET_SOCFPGA_ARRIA5
bool
+ select TARGET_SOCFPGA_GEN5
config TARGET_SOCFPGA_CYCLONE5
bool
+ select TARGET_SOCFPGA_GEN5
+
+config TARGET_SOCFPGA_GEN5
+ bool
choice
prompt "Altera SOCFPGA board select"