lantiq: vr9-vdsl-fw: properly write firmware to flash
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 31 Oct 2014 11:00:42 +0000 (11:00 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 31 Oct 2014 11:00:42 +0000 (11:00 +0000)
commite45648eef887a781a23925d7cdc3202678219df5
treed5d5a34a00898e87e5e724f68dbed2d438e11a2a
parentb52053b9760d4d944316463df2474fdb73dd4818
lantiq: vr9-vdsl-fw: properly write firmware to flash

Using a redirect to a non-empty mtd partition will not erase the
blocks prior to writing to them resulting in broken dsl_fw.
Fix this by piping to mtd write - /dev/mtdX instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43125 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh