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