arm: socfpga: Add board files for the Arria10
authorLey Foon Tan <ley.foon.tan@intel.com>
Tue, 25 Apr 2017 18:44:47 +0000 (02:44 +0800)
committerMarek Vasut <marex@denx.de>
Thu, 18 May 2017 09:33:19 +0000 (11:33 +0200)
Add support for the Arria10 SoCDK.

Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
board/altera/arria10-socdk/Kconfig [new file with mode: 0644]
board/altera/arria10-socdk/Makefile [new file with mode: 0644]
board/altera/arria10-socdk/socfpga.c [new file with mode: 0644]

diff --git a/board/altera/arria10-socdk/Kconfig b/board/altera/arria10-socdk/Kconfig
new file mode 100644 (file)
index 0000000..b80cc6d
--- /dev/null
@@ -0,0 +1,18 @@
+if TARGET_SOCFPGA_ARRIA10
+
+config SYS_CPU
+       default "armv7"
+
+config SYS_BOARD
+       default "socfpga_arria10"
+
+config SYS_VENDOR
+       default "altera"
+
+config SYS_SOC
+       default "socfpga_arria10"
+
+config SYS_CONFIG_NAME
+       default "socfpga_arria10"
+
+endif
diff --git a/board/altera/arria10-socdk/Makefile b/board/altera/arria10-socdk/Makefile
new file mode 100644 (file)
index 0000000..1d885ce
--- /dev/null
@@ -0,0 +1,7 @@
+#
+# Copyright (C) 2015 Altera Corporation <www.altera.com>
+#
+# SPDX-License-Identifier:     GPL-2.0
+#
+
+obj-y  := socfpga.o
diff --git a/board/altera/arria10-socdk/socfpga.c b/board/altera/arria10-socdk/socfpga.c
new file mode 100644 (file)
index 0000000..8516633
--- /dev/null
@@ -0,0 +1,7 @@
+/*
+ * Copyright (C) 2015 Altera Corporation <www.altera.com>
+ *
+ * SPDX-License-Identifier:    GPL-2.0
+ */
+
+#include <common.h>