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

spear.h (610B)


      1/* SPDX-License-Identifier: GPL-2.0-or-later */
      2/*
      3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved
      4 *
      5 * Author: Lee Jones <lee.jones@linaro.org>
      6 */
      7
      8#ifndef __LINUX_CLK_SPEAR_H
      9#define __LINUX_CLK_SPEAR_H
     10
     11#ifdef CONFIG_MACH_SPEAR1310
     12void __init spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base);
     13#else
     14static inline void spear1310_clk_init(void __iomem *misc_base, void __iomem *ras_base) {}
     15#endif
     16
     17#ifdef CONFIG_MACH_SPEAR1340
     18void __init spear1340_clk_init(void __iomem *misc_base);
     19#else
     20static inline void spear1340_clk_init(void __iomem *misc_base) {}
     21#endif
     22
     23#endif