AA: ar71xx: reject TP-Link images containing a bootloader
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 26 Oct 2012 19:08:28 +0000 (19:08 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 26 Oct 2012 19:08:28 +0000 (19:08 +0000)
commitffed7530534c607700b7a8f9ae2cb35ab4e32fe6
treedb7e2289c8e64370cd9f4fbae6a28dea20b661ff
parenta5757e93e4841eb14ebd9418145d096c688f8448
AA: ar71xx: reject TP-Link images containing a bootloader

Backport of r33944.

The original TP-Link firmware images can be flashed via
the sysupgrade command, however those may contain a
bootloader. Flashing such an image via sysupgrade
bricks the board, and it can't be recovered without
a serial console.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33948 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/base-files/lib/upgrade/platform.sh