summaryrefslogtreecommitdiff
path: root/cpu/arm920t
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/arm920t
parent756f586a73d756f163dc03a049d650cc1a5b5899 (diff)
Patch by Steven Scholz, 25 Oct 2004:
Declare reset_cpu() in include/common.h instead locally
Diffstat (limited to 'cpu/arm920t')
-rw-r--r--cpu/arm920t/cpu.c2
-rw-r--r--cpu/arm920t/interrupts.c2
-rw-r--r--cpu/arm920t/s3c24x0/interrupts.c1
3 files changed, 0 insertions, 5 deletions
diff --git a/cpu/arm920t/cpu.c b/cpu/arm920t/cpu.c
index 2a2b5780171..718f253471d 100644
--- a/cpu/arm920t/cpu.c
+++ b/cpu/arm920t/cpu.c
@@ -124,8 +124,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/arm920t/interrupts.c b/cpu/arm920t/interrupts.c
index ea58f154d40..bfab5196402 100644
--- a/cpu/arm920t/interrupts.c
+++ b/cpu/arm920t/interrupts.c
@@ -34,8 +34,6 @@
#include <arm920t.h>
#include <asm/proc-armv/ptrace.h>
-extern void reset_cpu(ulong addr);
-
#ifdef CONFIG_USE_IRQ
/* enable IRQ interrupts */
void enable_interrupts (void)
diff --git a/cpu/arm920t/s3c24x0/interrupts.c b/cpu/arm920t/s3c24x0/interrupts.c
index 92298b09f02..f581d6d6079 100644
--- a/cpu/arm920t/s3c24x0/interrupts.c
+++ b/cpu/arm920t/s3c24x0/interrupts.c
@@ -39,7 +39,6 @@
#include <s3c2410.h>
#endif
-extern void reset_cpu(ulong addr);
int timer_load_val = 0;
/* macro to read the 16 bit timer */