xref: /linux/drivers/net/ethernet/sfc/efx_reflash.h (revision 1a9239bb4253f9076b5b4b2a1a4e8d7defd77a95)
1*fd118a77SEdward Cree /* SPDX-License-Identifier: GPL-2.0-only */
2*fd118a77SEdward Cree /****************************************************************************
3*fd118a77SEdward Cree  * Driver for AMD network controllers and boards
4*fd118a77SEdward Cree  * Copyright (C) 2025, Advanced Micro Devices, Inc.
5*fd118a77SEdward Cree  *
6*fd118a77SEdward Cree  * This program is free software; you can redistribute it and/or modify it
7*fd118a77SEdward Cree  * under the terms of the GNU General Public License version 2 as published
8*fd118a77SEdward Cree  * by the Free Software Foundation, incorporated herein by reference.
9*fd118a77SEdward Cree  */
10*fd118a77SEdward Cree 
11*fd118a77SEdward Cree #ifndef _EFX_REFLASH_H
12*fd118a77SEdward Cree #define _EFX_REFLASH_H
13*fd118a77SEdward Cree 
14*fd118a77SEdward Cree #include "net_driver.h"
15*fd118a77SEdward Cree #include <linux/firmware.h>
16*fd118a77SEdward Cree 
17*fd118a77SEdward Cree int efx_reflash_flash_firmware(struct efx_nic *efx, const struct firmware *fw,
18*fd118a77SEdward Cree 			       struct netlink_ext_ack *extack);
19*fd118a77SEdward Cree 
20*fd118a77SEdward Cree #endif /* _EFX_REFLASH_H */
21