[ifxmips] fixes uboot compile error
authorJohn Crispin <john@openwrt.org>
Mon, 29 Mar 2010 11:30:24 +0000 (11:30 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 29 Mar 2010 11:30:24 +0000 (11:30 +0000)
SVN-Revision: 20580

package/uboot-lantiq/patches/210-compile.patch [new file with mode: 0644]

diff --git a/package/uboot-lantiq/patches/210-compile.patch b/package/uboot-lantiq/patches/210-compile.patch
new file mode 100644 (file)
index 0000000..e34d7fd
--- /dev/null
@@ -0,0 +1,24 @@
+Index: u-boot-2009.11.1/common/env_common.c
+===================================================================
+--- u-boot-2009.11.1.orig/common/env_common.c  2010-01-25 09:35:12.000000000 +0100
++++ u-boot-2009.11.1/common/env_common.c       2010-03-29 13:20:50.000000000 +0200
+@@ -26,6 +26,7 @@
+ #include <common.h>
+ #include <command.h>
++#include <configs/ifx-common.h>
+ #include <environment.h>
+ #include <linux/stddef.h>
+ #include <malloc.h>
+Index: u-boot-2009.11.1/common/env_embedded.c
+===================================================================
+--- u-boot-2009.11.1.orig/common/env_embedded.c        2010-03-29 13:22:19.000000000 +0200
++++ u-boot-2009.11.1/common/env_embedded.c     2010-03-29 13:22:29.000000000 +0200
+@@ -27,6 +27,7 @@
+ #define       __ASM_STUB_PROCESSOR_H__        /* don't include asm/processor.         */
+ #include <config.h>
+ #undef        __ASSEMBLY__
++#include <configs/ifx-common.h>
+ #include <environment.h>
+ /*