diff options
author | Hans J. Koch <hjk@linutronix.de> | 2010-09-17 20:13:56 +0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-09-17 23:55:07 +0400 |
commit | 83ef3338a2ae5d5bd9f5f6803b900b8067660054 (patch) | |
tree | a759da3a601d092889321cf49b9f003726147be1 /arch/arm/plat-tcc/include/mach/system.h | |
parent | 509344b8b4d365b7ff3bce97198d83a57b7c3f31 (diff) | |
download | linux-83ef3338a2ae5d5bd9f5f6803b900b8067660054.tar.xz |
ARM: Introduce plat-tcc
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>
Diffstat (limited to 'arch/arm/plat-tcc/include/mach/system.h')
-rw-r--r-- | arch/arm/plat-tcc/include/mach/system.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/plat-tcc/include/mach/system.h b/arch/arm/plat-tcc/include/mach/system.h new file mode 100644 index 000000000000..909e6035d843 --- /dev/null +++ b/arch/arm/plat-tcc/include/mach/system.h @@ -0,0 +1,31 @@ +/* + * 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 |