brcm47xx: compare provided firmware magic with device magic
authorRafał Miłecki <zajec5@gmail.com>
Mon, 30 Mar 2015 22:06:11 +0000 (22:06 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Mon, 30 Mar 2015 22:06:11 +0000 (22:06 +0000)
commitc81de32363ee9a8af8e4953ef9d8b1e7f0c90e0c
treed68c49af2e0c2a448d111a4b26fc196921d33a62
parent2b715d9c701c243dc834ea298066374021291b56
brcm47xx: compare provided firmware magic with device magic

This makes sysupgrade reject firmware images for different devices.
Right now only support for 2 sample devices is implemented.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45170 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/brcm47xx/base-files/lib/upgrade/platform.sh