aboutsummaryrefslogtreecommitdiffstats
path: root/package/uboot-lantiq/patches
diff options
context:
space:
mode:
authorRalph Hempel <ralph.hempel@lantiq.com>2010-03-30 16:17:38 +0000
committerRalph Hempel <ralph.hempel@lantiq.com>2010-03-30 16:17:38 +0000
commite7b83bc22a2838bf68596f79775dfefd31805c07 (patch)
treeb54689f3f6ed9474447a014533f602d9c51a87b7 /package/uboot-lantiq/patches
parent046d73d3c2bc3a515024c2cc8339d1177e749b77 (diff)
downloadupstream-e7b83bc22a2838bf68596f79775dfefd31805c07.tar.gz
upstream-e7b83bc22a2838bf68596f79775dfefd31805c07.tar.bz2
upstream-e7b83bc22a2838bf68596f79775dfefd31805c07.zip
httpd failsafe - add image check and flash access
SVN-Revision: 20610
Diffstat (limited to 'package/uboot-lantiq/patches')
-rw-r--r--package/uboot-lantiq/patches/300-httpd.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/uboot-lantiq/patches/300-httpd.patch b/package/uboot-lantiq/patches/300-httpd.patch
index f9a81e90c6..25e84cde3e 100644
--- a/package/uboot-lantiq/patches/300-httpd.patch
+++ b/package/uboot-lantiq/patches/300-httpd.patch
@@ -165,7 +165,7 @@
NetRxPacket = inpkt;
NetRxPacketLen = len;
et = (Ethernet_t *)inpkt;
-@@ -1952,3 +1972,161 @@ ushort getenv_VLAN(char *var)
+@@ -1952,3 +1972,162 @@ ushort getenv_VLAN(char *var)
{
return (string_to_VLAN(getenv(var)));
}
@@ -249,6 +249,8 @@
+ NetArpWaitTxPacketSize = 0;
+ }
+
++restart:
++
+ eth_halt();
+#ifdef CONFIG_NET_MULTI
+ eth_set_current();
@@ -258,7 +260,6 @@
+ return(-1);
+ }
+
-+restart:
+#ifdef CONFIG_NET_MULTI
+ memcpy (NetOurEther, eth_get_dev()->enetaddr, 6);
+#else