^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) * Core functions for Marvell System On Chip
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) * Copyright (C) 2012 Marvell
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * Lior Amsalem <alior@marvell.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * Gregory CLEMENT <gregory.clement@free-electrons.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) * This file is licensed under the terms of the GNU General Public
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) * License version 2. This program is licensed "as is" without any
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) * warranty of any kind, whether express or implied.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #ifndef __ARCH_MVEBU_COMMON_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define __ARCH_MVEBU_COMMON_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #include <linux/reboot.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) void mvebu_restart(enum reboot_mode mode, const char *cmd);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) int mvebu_cpu_reset_deassert(int cpu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) void mvebu_system_controller_set_cpu_boot_addr(void *boot_addr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) int mvebu_system_controller_get_soc_id(u32 *dev, u32 *rev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) void __iomem *mvebu_get_scu_base(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) int mvebu_pm_suspend_init(void (*board_pm_enter)(void __iomem *sdram_reg,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) u32 srcmd));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #endif