WIP FPC-III support
[linux/fpc-iii.git] / drivers / net / wireless / ath / wil6210 / fw.c
blob6d3413a44b056ba2c06cd91719ceafde960557bc
1 // SPDX-License-Identifier: ISC
2 /*
3 * Copyright (c) 2014-2015,2017 Qualcomm Atheros, Inc.
4 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
5 */
6 #include <linux/firmware.h>
7 #include <linux/module.h>
8 #include <linux/crc32.h>
9 #include "wil6210.h"
10 #include "fw.h"
12 MODULE_FIRMWARE(WIL_FW_NAME_DEFAULT);
13 MODULE_FIRMWARE(WIL_FW_NAME_SPARROW_PLUS);
14 MODULE_FIRMWARE(WIL_BOARD_FILE_NAME);
15 MODULE_FIRMWARE(WIL_FW_NAME_TALYN);
16 MODULE_FIRMWARE(WIL_BRD_NAME_TALYN);
18 static
19 void wil_memset_toio_32(volatile void __iomem *dst, u32 val,
20 size_t count)
22 volatile u32 __iomem *d = dst;
24 for (count += 4; count > 4; count -= 4)
25 __raw_writel(val, d++);
28 #include "fw_inc.c"