rcar-rst.h 449 B

12345678910111213
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __LINUX_SOC_RENESAS_RCAR_RST_H__
  3. #define __LINUX_SOC_RENESAS_RCAR_RST_H__
  4. #ifdef CONFIG_RST_RCAR
  5. int rcar_rst_read_mode_pins(u32 *mode);
  6. int rcar_rst_set_rproc_boot_addr(u64 boot_addr);
  7. #else
  8. static inline int rcar_rst_read_mode_pins(u32 *mode) { return -ENODEV; }
  9. static inline int rcar_rst_set_rproc_boot_addr(u64 boot_addr) { return -ENODEV; }
  10. #endif
  11. #endif /* __LINUX_SOC_RENESAS_RCAR_RST_H__ */