mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 11:06:42 +07:00
83ef3338a2
This patch introduces support for the tcc platform by creating an arch/arm/plat-tcc and arch/arm/mach-tcc8k directories and adding basic include files plus Kconfig and Makefile. Signed-off-by: "Hans J. Koch" <hjk@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
32 lines
524 B
C
32 lines
524 B
C
/*
|
|
* Author: <linux@telechips.com>
|
|
* Created: June 10, 2008
|
|
* Description: LINUX SYSTEM FUNCTIONS for TCC83x
|
|
*
|
|
* Copyright (C) 2008-2009 Telechips
|
|
*
|
|
* Licensed under the terms of the GPL v2.
|
|
*
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_SYSTEM_H
|
|
#define __ASM_ARCH_SYSTEM_H
|
|
#include <linux/clk.h>
|
|
|
|
#include <asm/mach-types.h>
|
|
#include <mach/hardware.h>
|
|
|
|
extern void plat_tcc_reboot(void);
|
|
|
|
static inline void arch_idle(void)
|
|
{
|
|
cpu_do_idle();
|
|
}
|
|
|
|
static inline void arch_reset(char mode, const char *cmd)
|
|
{
|
|
plat_tcc_reboot();
|
|
}
|
|
|
|
#endif
|