summaryrefslogtreecommitdiff
path: root/cpu/arm720t
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-04-03 17:23:39 +0000
committerwdenk <wdenk>2005-04-03 17:23:39 +0000
commit3ec924a3cb7bc3b37be9adec695d7c3d563b3d2c (patch)
treea1e60fe7a788cbe86f8b9cde532273ba0f3df687 /cpu/arm720t
parent756f586a73d756f163dc03a049d650cc1a5b5899 (diff)
Patch by Steven Scholz, 25 Oct 2004:
Declare reset_cpu() in include/common.h instead locally
Diffstat (limited to 'cpu/arm720t')
-rw-r--r--cpu/arm720t/cpu.c2
-rw-r--r--cpu/arm720t/interrupts.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/cpu/arm720t/cpu.c b/cpu/arm720t/cpu.c
index ef3fbf35d18..5421aff7def 100644
--- a/cpu/arm720t/cpu.c
+++ b/cpu/arm720t/cpu.c
@@ -84,8 +84,6 @@ int cleanup_before_linux (void)
int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
- extern void reset_cpu (ulong addr);
-
disable_interrupts ();
reset_cpu (0);
/*NOTREACHED*/
diff --git a/cpu/arm720t/interrupts.c b/cpu/arm720t/interrupts.c
index 842a44384bf..a7ea70a266f 100644
--- a/cpu/arm720t/interrupts.c
+++ b/cpu/arm720t/interrupts.c
@@ -31,8 +31,6 @@
#include <asm/proc-armv/ptrace.h>
#include <asm/hardware.h>
-extern void reset_cpu(ulong addr);
-
#ifndef CONFIG_NETARM
/* we always count down the max. */
#define TIMER_LOAD_VAL 0xffff