misc.h 426 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (C) 2016-2017 Intel Corporation
  3. *
  4. * SPDX-License-Identifier: GPL-2.0
  5. */
  6. #ifndef _MISC_H_
  7. #define _MISC_H_
  8. void dwmac_deassert_reset(const unsigned int of_reset_id, const u32 phymode);
  9. struct bsel {
  10. const char *mode;
  11. const char *name;
  12. };
  13. extern struct bsel bsel_str[];
  14. #ifdef CONFIG_FPGA
  15. void socfpga_fpga_add(void);
  16. #else
  17. static inline void socfpga_fpga_add(void) {}
  18. #endif
  19. #endif /* _MISC_H_ */