瀏覽代碼

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>
Dinh Nguyen 9 年之前
父節點
當前提交
ed77aeb575
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      arch/arm/mach-socfpga/Kconfig

+ 5 - 0
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"