summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-10 11:37:30 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-22 16:27:03 +0200
commit695c9c500a91069c6eea24af2f722e3b9f6ac674 (patch)
tree09f2f56e628c76af19ed90f3fea43e450edd780e
parentbsp/qoriq: Enable > 2GiB memory (diff)
downloadrtems-695c9c500a91069c6eea24af2f722e3b9f6ac674.tar.bz2
bsp/qoriq: Add qoriq_e6500_64 variant
Update #3082.
-rw-r--r--c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_e6500_64-testsuite.tcfg5
-rw-r--r--c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_e6500_64.cfg16
2 files changed, 21 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_e6500_64-testsuite.tcfg b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_e6500_64-testsuite.tcfg
new file mode 100644
index 0000000000..fb84b55762
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_e6500_64-testsuite.tcfg
@@ -0,0 +1,5 @@
+#
+# This is the set of tests which are known to not link on this BSP
+#
+
+include: testdata/dltests-broken-on-this-bsp.tcfg
diff --git a/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_e6500_64.cfg b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_e6500_64.cfg
new file mode 100644
index 0000000000..1523874f4a
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_e6500_64.cfg
@@ -0,0 +1,16 @@
+# Config file for e6500 core based QorIQ chips in 64-bit mode, e.g. T2080,
+# T4240
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU = powerpc
+
+RTEMS_CPU_MODEL = qoriq
+
+CPU_CFLAGS = -mcpu=e6500 -m64 -fno-common \
+ -D__ppc_generic
+
+CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections