summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/files/u-boot-userspacetools.patch
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2012-06-03 23:52:07 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2012-06-03 23:52:07 +0200
commit608f39d17b0ca68d92a7dd161a83641876b3065c (patch)
treebf359c6c0bc21ae6d5ab205be842255432b0ee63 /recipes-bsp/u-boot/files/u-boot-userspacetools.patch
parentdff3446ed548fcfcf8909ac83045dec7cf0e0e2e (diff)
u-boot base from meta instead of a copy from meta-ti
fix u-boot to no longer fail at runtime, (write beyond array)
Diffstat (limited to 'recipes-bsp/u-boot/files/u-boot-userspacetools.patch')
-rw-r--r--recipes-bsp/u-boot/files/u-boot-userspacetools.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/files/u-boot-userspacetools.patch b/recipes-bsp/u-boot/files/u-boot-userspacetools.patch
new file mode 100644
index 0000000..6e7a3e9
--- /dev/null
+++ b/recipes-bsp/u-boot/files/u-boot-userspacetools.patch
@@ -0,0 +1,12 @@
+diff -urNdb u-boot-git.old//tools/env/Makefile u-boot-git//tools/env/Makefile
+--- u-boot-git.old//tools/env/Makefile 2011-11-19 18:17:17.000000000 +0100
++++ u-boot-git//tools/env/Makefile 2011-11-19 18:15:22.000000000 +0100
+@@ -28,6 +28,8 @@
+
+ CPPFLAGS := -Wall -DUSE_HOSTCC -I$(SRCTREE)/include
+
++CPPFLAGS += -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=soft -mthumb-interwork -mno-thumb
++
+ ifeq ($(MTD_VERSION),old)
+ CPPFLAGS += -DMTD_OLD
+ endif