Linux Audio

Check our new training course

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