ar71xx: add an extra check on board_name for ath10k firmware patchs
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 13 Dec 2014 08:06:01 +0000 (08:06 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 13 Dec 2014 08:06:01 +0000 (08:06 +0000)
commitf09ce153d3a63590afeb467f21c11f513d7073b3
treecbad467e4ed5ff1476d8587c77efbec793b18f46
parentd83b0f422f3d3dc16913e4091dd54c20eb4b3687
ar71xx: add an extra check on board_name for ath10k firmware patchs

It moves firmware patch code behind an extra check on board_name.
Otherwise it will calculate firmware checksum for unaffected boards.
It also reduce boottime by a md5 calculation and removes error message
on boot if firmware not found.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43679 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k