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

source code of linux/include/linux/soc/renesas/rcar-rst.h