From: Dinh Nguyen Date: Wed, 2 Dec 2015 19:31:25 +0000 (-0600) Subject: arm: socfpga: introduce TARGET_SOCFPGA_GEN5 config property X-Git-Tag: v2016.01-rc3~8^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ed77aeb575934ff8ec202a7fe6e0cdc07f8cee3e;p=oweals%2Fu-boot.git 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 --- diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig index 0cb9f9e281..dea4ce569f 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"