linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils.c

// SPDX-License-Identifier: GPL-2.0-only
/* Atlantic Network Driver
 * Copyright (C) 2020 Marvell International Ltd.
 */

#include <linux/iopoll.h>

#include "aq_hw_utils.h"
#include "hw_atl/hw_atl_utils.h"
#include "hw_atl2_utils.h"
#include "hw_atl2_llh.h"
#include "hw_atl2_llh_internal.h"

#define HW_ATL2_FW_VER_1X

#define AQ_A2_BOOT_STARTED
#define AQ_A2_CRASH_INIT
#define AQ_A2_BOOT_CODE_FAILED
#define AQ_A2_FW_INIT_FAILED
#define AQ_A2_FW_INIT_COMP_SUCCESS

#define AQ_A2_FW_BOOT_FAILED_MASK
#define AQ_A2_FW_BOOT_COMPLETE_MASK

#define AQ_A2_FW_BOOT_REQ_REBOOT
#define AQ_A2_FW_BOOT_REQ_HOST_BOOT
#define AQ_A2_FW_BOOT_REQ_MAC_FAST_BOOT
#define AQ_A2_FW_BOOT_REQ_PHY_FAST_BOOT

int hw_atl2_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops)
{}

static bool hw_atl2_mcp_boot_complete(struct aq_hw_s *self)
{}

int hw_atl2_utils_soft_reset(struct aq_hw_s *self)
{}