boot.h 570 B

12345678910111213141516171819202122232425
  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. #ifndef __BOOT_H__
  8. #define __BOOT_H__
  9. #include "wl1251.h"
  10. int wl1251_boot_soft_reset(struct wl1251 *wl);
  11. int wl1251_boot_init_seq(struct wl1251 *wl);
  12. int wl1251_boot_run_firmware(struct wl1251 *wl);
  13. void wl1251_boot_target_enable_interrupts(struct wl1251 *wl);
  14. int wl1251_boot(struct wl1251 *wl);
  15. /* number of times we try to read the INIT interrupt */
  16. #define INIT_LOOP 20000
  17. /* delay between retries */
  18. #define INIT_LOOP_DELAY 50
  19. #endif