summaryrefslogtreecommitdiff
path: root/cpu/lh7a40x
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/lh7a40x
parent756f586a73d756f163dc03a049d650cc1a5b5899 (diff)
Patch by Steven Scholz, 25 Oct 2004:
Declare reset_cpu() in include/common.h instead locally
Diffstat (limited to 'cpu/lh7a40x')
-rw-r--r--cpu/lh7a40x/cpu.c2
-rw-r--r--cpu/lh7a40x/interrupts.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/cpu/lh7a40x/cpu.c b/cpu/lh7a40x/cpu.c
index 2a2b5780171..718f253471d 100644
--- a/cpu/lh7a40x/cpu.c
+++ b/cpu/lh7a40x/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/lh7a40x/interrupts.c b/cpu/lh7a40x/interrupts.c
index a7162698aa3..3c2dc4fc49d 100644
--- a/cpu/lh7a40x/interrupts.c
+++ b/cpu/lh7a40x/interrupts.c
@@ -35,7 +35,6 @@
#include <asm/proc-armv/ptrace.h>
-extern void reset_cpu(ulong addr);
static ulong timer_load_val = 0;
/* macro to read the 16 bit timer */