cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

rcar-rst.h (449B)


      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__ */