The PNVM code is generic and can be used by other opmodes. Move it to a common file and include it in the relevant opmodes. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/iwlwifi.20201008181047.232aa310693b.I03a18ffa4162753af38e759d88e27509007c7bca@changeid
19 lines
495 B
C
19 lines
495 B
C
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
|
/******************************************************************************
|
|
*
|
|
* Copyright(c) 2020 Intel Corporation
|
|
*
|
|
*****************************************************************************/
|
|
|
|
#ifndef __IWL_PNVM_H__
|
|
#define __IWL_PNVM_H__
|
|
|
|
#include "fw/notif-wait.h"
|
|
|
|
#define MVM_UCODE_PNVM_TIMEOUT (HZ / 10)
|
|
|
|
int iwl_pnvm_load(struct iwl_trans *trans,
|
|
struct iwl_notif_wait_data *notif_wait);
|
|
|
|
#endif /* __IWL_PNVM_H__ */
|