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)
commitb34040f990393dc5bf2bb68bb8b551a32d95918d
tree7e5c171180e6c909688f34debc61996eda8fc758
parenta54b8303d2a95f38d96bb1e2950f3e5c9ee76659
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>
SVN-Revision: 45170
target/linux/brcm47xx/base-files/lib/upgrade/platform.sh