1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * This file is part of wl1251 4 * 5 * Copyright (C) 2008 Nokia Corporation 6 */ 7 8 #ifndef __BOOT_H__ 9 #define __BOOT_H__ 10 11 #include "wl1251.h" 12 13 int wl1251_boot_soft_reset(struct wl1251 *wl); 14 int wl1251_boot_init_seq(struct wl1251 *wl); 15 int wl1251_boot_run_firmware(struct wl1251 *wl); 16 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl); 17 int wl1251_boot(struct wl1251 *wl); 18 19 /* number of times we try to read the INIT interrupt */ 20 #define INIT_LOOP 20000 21 22 /* delay between retries */ 23 #define INIT_LOOP_DELAY 50 24 25 #endif 26