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

SVN-Revision: 43679
target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k