xref: /openbmc/linux/drivers/net/wireless/ath/wil6210/fw.c (revision 37002bc6)
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"
11 
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);
17 
18 static
19 void wil_memset_toio_32(volatile void __iomem *dst, u32 val,
20 			size_t count)
21 {
22 	volatile u32 __iomem *d = dst;
23 
24 	for (count += 4; count > 4; count -= 4)
25 		__raw_writel(val, d++);
26 }
27 
28 #include "fw_inc.c"
29