ar71xx: add an extra check on board_name for ath10k firmware patchs
authorJohn Crispin <blogic@openwrt.org>
Sat, 13 Dec 2014 08:06:01 +0000 (08:06 +0000)
committerJohn Crispin <blogic@openwrt.org>
Sat, 13 Dec 2014 08:06:01 +0000 (08:06 +0000)
commitf92575ace53069edc1ae116c78353d2b64aa9791
treecbad467e4ed5ff1476d8587c77efbec793b18f46
parent28619490eee769a392c0ea11188b99dc5aa10a53
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