summaryrefslogtreecommitdiffstats
path: root/package/uboot-lantiq/patches
diff options
context:
space:
mode:
authorralph <ralph@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-24 06:03:31 +0000
committerralph <ralph@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-24 06:03:31 +0000
commit6125e3dc7782cc6c04f1b8e9731627807aba04ec (patch)
tree06931bda7bc7078d1e9139d4896e422d41fe786f /package/uboot-lantiq/patches
parent8b191d1960b3e5c92e9988fcda8b3a465b10212e (diff)
[uboot-lantiq] fix command line buffer length, fixes mtdparts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21117 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uboot-lantiq/patches')
-rw-r--r--package/uboot-lantiq/patches/300-httpd.patch2
-rw-r--r--package/uboot-lantiq/patches/310-fix-httpd.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/uboot-lantiq/patches/300-httpd.patch b/package/uboot-lantiq/patches/300-httpd.patch
index d244e2d42..8c4c1ffb6 100644
--- a/package/uboot-lantiq/patches/300-httpd.patch
+++ b/package/uboot-lantiq/patches/300-httpd.patch
@@ -12,7 +12,7 @@
+
+U_BOOT_CMD(
+ httpd, 1, 1, do_httpd,
-+ "httpd\t- start webserver\n", "\n"
++ "httpd\t- start webserver", ""
+);
+#endif
+
diff --git a/package/uboot-lantiq/patches/310-fix-httpd.patch b/package/uboot-lantiq/patches/310-fix-httpd.patch
index 51a96fc58..b27ed5859 100644
--- a/package/uboot-lantiq/patches/310-fix-httpd.patch
+++ b/package/uboot-lantiq/patches/310-fix-httpd.patch
@@ -35,7 +35,7 @@
# endif
+# ifdef CONFIG_CMD_HTTPD
-+ if (ret < 0) {
++ if (ret != 0) {
+ printf("Failed to execute bootcmd "
+ "(maybe invalid u-boot environment?), "
+ "starting httpd to update firmware...\n");