summaryrefslogtreecommitdiffstats
path: root/cpu/arm_cortexa8/config.mk
diff options
context:
space:
mode:
authorDirk Behme <dirk.behme@googlemail.com>2008-12-14 09:47:13 +0100
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-01-24 17:51:21 +0100
commit0b02b184003e6a5023e05d5f31de54db279b1431 (patch)
treee83661bb41f4ed4b0b8602c592c307f70f774168 /cpu/arm_cortexa8/config.mk
parenta8b6450546cd507d331b8fde384791d84bde5651 (diff)
downloadblackbird-obmc-uboot-0b02b184003e6a5023e05d5f31de54db279b1431.tar.gz
blackbird-obmc-uboot-0b02b184003e6a5023e05d5f31de54db279b1431.zip
OMAP3: Add common cpu and start code
Add common cpu and start code. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Diffstat (limited to 'cpu/arm_cortexa8/config.mk')
-rw-r--r--cpu/arm_cortexa8/config.mk36
1 files changed, 36 insertions, 0 deletions
diff --git a/cpu/arm_cortexa8/config.mk b/cpu/arm_cortexa8/config.mk
new file mode 100644
index 0000000000..b021762bcb
--- /dev/null
+++ b/cpu/arm_cortexa8/config.mk
@@ -0,0 +1,36 @@
+#
+# (C) Copyright 2002
+# Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \
+ -msoft-float
+
+# Make ARMv5 to allow more compilers to work, even though its v7a.
+PLATFORM_CPPFLAGS += -march=armv5
+# =========================================================================
+#
+# Supply options according to compiler version
+#
+# =========================================================================
+PLATFORM_CPPFLAGS +=$(call cc-option)
+PLATFORM_CPPFLAGS +=$(call cc-option,-mno-thumb-interwork,)
+PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,\
+ $(call cc-option,-malignment-traps,)) \ No newline at end of file
OpenPOWER on IntegriCloud