/* SPDX-License-Identifier: GPL-2.0-only */ /* * This file is part of wl1271 * * Copyright (C) 2008-2009 Nokia Corporation * * Contact: Luciano Coelho <[email protected]> */ #ifndef __BOOT_H__ #define __BOOT_H__ #include "wlcore.h" int wlcore_boot_upload_firmware(struct wl1271 *wl); int wlcore_boot_upload_nvs(struct wl1271 *wl); int wlcore_boot_run_firmware(struct wl1271 *wl); #define WL1271_NO_SUBBANDS … #define WL1271_NO_POWER_LEVELS … #define WL1271_FW_VERSION_MAX_LEN … struct wl1271_static_data { … }; /* number of times we try to read the INIT interrupt */ #define INIT_LOOP … /* delay between retries */ #define INIT_LOOP_DELAY … #define WU_COUNTER_PAUSE_VAL … #define WELP_ARM_COMMAND_VAL … #endif