aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-tcc/system.c
diff options
context:
space:
mode:
authorHans J. Koch <hjk@hansjkoch.de>2011-12-22 21:30:48 +0100
committerHans J. Koch <hjk@hansjkoch.de>2012-01-05 13:34:39 +0100
commit2e3d256de9d3db5a7ca19b61305627a516b54b45 (patch)
tree2b18d6c3b2c24138667112829bac368987a5bdc5 /arch/arm/plat-tcc/system.c
parentarm: Remove mach-tcc8k directory (diff)
downloadlinux-dev-2e3d256de9d3db5a7ca19b61305627a516b54b45.tar.xz
linux-dev-2e3d256de9d3db5a7ca19b61305627a516b54b45.zip
arm: Remove plat-tcc directory
The Telechips ARM architecture is being removed. This patch deletes the arch/arm/plat-tcc/ folder. Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Harry Sievers <hsievers@csselectronic.com> Signed-off-by: Hans J. Koch <hjk@hansjkoch.de>
Diffstat (limited to '')
-rw-r--r--arch/arm/plat-tcc/system.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/arm/plat-tcc/system.c b/arch/arm/plat-tcc/system.c
deleted file mode 100644
index cc208fae3e7a..000000000000
--- a/arch/arm/plat-tcc/system.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * System functions for Telechips TCCxxxx SoCs
- *
- * Copyright (C) Hans J. Koch <hjk@linutronix.de>
- *
- * Licensed under the terms of the GPL v2.
- *
- */
-
-#include <linux/io.h>
-
-#include <mach/tcc8k-regs.h>
-
-/* System reboot */
-void plat_tcc_reboot(void)
-{
- /* Make sure clocks are on */
- __raw_writel(0xffffffff, CKC_BASE + BCLKCTR0_OFFS);
-
- /* Enable watchdog reset */
- __raw_writel(0x49, TIMER_BASE + TWDCFG_OFFS);
- /* Wait for reset */
- while(1)
- ;
-}