Revert "BACKPORT: ath10k: search SMBIOS for OEM board file extension"

This reverts commit d6462c3f8e977897e6e67dd43bb5b4c3eac3be75.

Reason for revert: b:120112668

Original change's description:
> BACKPORT: ath10k: search SMBIOS for OEM board file extension
> 
> Board Data File (BDF) is loaded upon driver boot-up procedure. The right
> board data file is identified, among others, by device and sybsystem ids.
> 
> The problem, however, can occur when the (default) board data file cannot
> fulfill with the vendor requirements and it is necessary to use a different
> board data file.
> 
> To solve the issue QCA uses SMBIOS type 0xF8 to store Board Data File Name
> Extension to specify the extension/variant name. The driver will take the
> extension suffix into consideration and will load the right (non-default)
> board data file if necessary.
> 
> If it is unnecessary to use extension board data file, please leave the
> SMBIOS field blank and default configuration will be used.
> 
> Example:
> If a default board data file for a specific board is identified by a string
>       "bus=pci,vendor=168c,device=003e,subsystem-vendor=1028,
>        subsystem-device=0310"
> then the OEM specific data file, if used, could be identified by variant
> suffix:
>       "bus=pci,vendor=168c,device=003e,subsystem-vendor=1028,
>        subsystem-device=0310,variant=DE_1AB"
> 
> If board data file name extension is set but board-2.bin does not contain
> board data file for the variant, the driver will fallback to the default
> board data file not to break backward compatibility.
> 
> This was first applied in commit f2593cb1b291 ("ath10k: Search SMBIOS for OEM
> board file extension") but later reverted in commit 005c3490e9db ("Revert
> "ath10k: Search SMBIOS for OEM board file extension"". This patch is now
> otherwise the same as commit f2593cb1b291 except the regression fixed.
> 
> Signed-off-by: Waldemar Rymarkiewicz <ext.waldemar.rymarkiewicz@tieto.com>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
> (cherry picked from commit 1657b8f84ed9fc1d2a100671f1d42d6286f20073)
> 
> Fixed conflict in
> 	drivers/net/wireless/ar10k/ath/ath10k/core.c
> due to missing header file (asm/byteorder.h).
> 
> Fixed conflict in
> 	drivers/net/wireless/ar10k/ath/ath10k/core.h
> due to missing macros (defined for NAPI poll budget).
> 
> BUG=b:120112668
> TEST=build kernel for scarlet
> 
> Change-Id: I103b5c43ab36e3b568bae7af9d4aa9279f738f0e
> Signed-off-by: Philip Chen <philipchen@chromium.org>
> Signed-off-by: Brian Norris <briannorris@chromium.org>
> Reviewed-on: https://chromium-review.googlesource.com/1443505
> (cherry picked from commit 0fad38b3e5072f290c4128f262b227783947b31e)
> Reviewed-on: https://chromium-review.googlesource.com/c/1474780
> Reviewed-by: Sean Paul <seanpaul@chromium.org>

Bug: b:120112668
Change-Id: If5ccd828db8658064c0ced1cae246029b4c98760
Reviewed-on: https://chromium-review.googlesource.com/c/1474786
Reviewed-by: Philip Chen <philipchen@chromium.org>
Commit-Queue: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
2 files changed