mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
802 B
27 lines
802 B
/* SPDX-License-Identifier: GPL-2.0-only */ |
|
/* |
|
* Core functions for Marvell System On Chip |
|
* |
|
* Copyright (C) 2012 Marvell |
|
* |
|
* Lior Amsalem <[email protected]> |
|
* Gregory CLEMENT <[email protected]> |
|
* Thomas Petazzoni <[email protected]> |
|
*/ |
|
|
|
#ifndef __ARCH_MVEBU_COMMON_H |
|
#define __ARCH_MVEBU_COMMON_H |
|
|
|
#include <linux/reboot.h> |
|
|
|
void mvebu_restart(enum reboot_mode mode, const char *cmd); |
|
int mvebu_cpu_reset_deassert(int cpu); |
|
void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr); |
|
void mvebu_system_controller_set_cpu_boot_addr(void *boot_addr); |
|
int mvebu_system_controller_get_soc_id(u32 *dev, u32 *rev); |
|
|
|
void __iomem *mvebu_get_scu_base(void); |
|
|
|
int mvebu_pm_suspend_init(void (*board_pm_enter)(void __iomem *sdram_reg, |
|
u32 srcmd)); |
|
#endif
|
|
|