summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam926x_time.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-12-13 17:37:25 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-14 12:14:44 +0100
commit8d23dc460038a236c6d9df2a37a7a58435a507c4 (patch)
tree81c373dff4772953588c4d81c4ecc0cbf537bc02 /arch/arm/mach-at91/at91sam926x_time.c
parent556631c835a0a86d9a10d35a9f841297ad5dd057 (diff)
downloadbarebox-8d23dc460038a236c6d9df2a37a7a58435a507c4.tar.gz
barebox-8d23dc460038a236c6d9df2a37a7a58435a507c4.tar.xz
at91: fix reset
on at91sam9 you need to shutdown the sdram/ddr controler before reseting when you boot from nand Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-at91/at91sam926x_time.c')
-rw-r--r--arch/arm/mach-at91/at91sam926x_time.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-at91/at91sam926x_time.c b/arch/arm/mach-at91/at91sam926x_time.c
index 7ca2ef4f48..b95cef316d 100644
--- a/arch/arm/mach-at91/at91sam926x_time.c
+++ b/arch/arm/mach-at91/at91sam926x_time.c
@@ -69,17 +69,3 @@ static int clocksource_init (void)
}
core_initcall(clocksource_init);
-
-/*
- * Reset the cpu through the reset controller
- */
-void __noreturn reset_cpu (unsigned long addr)
-{
- at91_sys_write(AT91_RSTC_CR, AT91_RSTC_KEY |
- AT91_RSTC_PROCRST |
- AT91_RSTC_PERRST);
-
- /* Not reached */
- while (1);
-}
-EXPORT_SYMBOL(reset_cpu);