summaryrefslogtreecommitdiff
path: root/board/altera/socfpga/iocsr_config.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-12-30 18:16:08 +0100
committerMarek Vasut <marex@denx.de>2015-03-04 23:07:04 +0100
commitc115a0d4e79d773f38d62eda3fbf67e3aa9b73b0 (patch)
tree36529c177a69d66eab59b3e1d96ac8f75ec85d63 /board/altera/socfpga/iocsr_config.h
parentd7a73038f5e912c4d088ee839d336bd0c8a4eb5f (diff)
downloadu-boot-imx-c115a0d4e79d773f38d62eda3fbf67e3aa9b73b0.zip
u-boot-imx-c115a0d4e79d773f38d62eda3fbf67e3aa9b73b0.tar.gz
u-boot-imx-c115a0d4e79d773f38d62eda3fbf67e3aa9b73b0.tar.bz2
arm: socfpga: Add Altera Arria V DK support
Add support for the Altera Arria V development kit. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@opensource.altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Pavel Machek <pavel@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Vince Bridgers <vbridger@opensource.altera.com>
Diffstat (limited to 'board/altera/socfpga/iocsr_config.h')
-rw-r--r--board/altera/socfpga/iocsr_config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/altera/socfpga/iocsr_config.h b/board/altera/socfpga/iocsr_config.h
index 4a7ed46..d1c9b0d 100644
--- a/board/altera/socfpga/iocsr_config.h
+++ b/board/altera/socfpga/iocsr_config.h
@@ -9,9 +9,18 @@
#ifndef _PRELOADER_IOCSR_CONFIG_H_
#define _PRELOADER_IOCSR_CONFIG_H_
+#ifdef CONFIG_TARGET_SOCFPGA_CYCLONE5
#define CONFIG_HPS_IOCSR_SCANCHAIN0_LENGTH (764)
#define CONFIG_HPS_IOCSR_SCANCHAIN1_LENGTH (1719)
#define CONFIG_HPS_IOCSR_SCANCHAIN2_LENGTH (955)
#define CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH (16766)
+#endif
+
+#ifdef CONFIG_TARGET_SOCFPGA_ARRIA5
+#define CONFIG_HPS_IOCSR_SCANCHAIN0_LENGTH (1337)
+#define CONFIG_HPS_IOCSR_SCANCHAIN1_LENGTH (1719)
+#define CONFIG_HPS_IOCSR_SCANCHAIN2_LENGTH (1528)
+#define CONFIG_HPS_IOCSR_SCANCHAIN3_LENGTH (16766)
+#endif
#endif /*_PRELOADER_IOCSR_CONFIG_H_*/