summaryrefslogtreecommitdiff
path: root/cpu/arm926ejs
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/arm926ejs
parent756f586a73d756f163dc03a049d650cc1a5b5899 (diff)
downloadu-boot-imx-3ec924a3cb7bc3b37be9adec695d7c3d563b3d2c.zip
u-boot-imx-3ec924a3cb7bc3b37be9adec695d7c3d563b3d2c.tar.gz
u-boot-imx-3ec924a3cb7bc3b37be9adec695d7c3d563b3d2c.tar.bz2
Patch by Steven Scholz, 25 Oct 2004:
Declare reset_cpu() in include/common.h instead locally
Diffstat (limited to 'cpu/arm926ejs')
-rw-r--r--cpu/arm926ejs/cpu.c2
-rw-r--r--cpu/arm926ejs/interrupts.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/cpu/arm926ejs/cpu.c b/cpu/arm926ejs/cpu.c
index 6c153e5..2681f99 100644
--- a/cpu/arm926ejs/cpu.c
+++ b/cpu/arm926ejs/cpu.c
@@ -125,8 +125,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/arm926ejs/interrupts.c b/cpu/arm926ejs/interrupts.c
index 4fdac9f..062515e 100644
--- a/cpu/arm926ejs/interrupts.c
+++ b/cpu/arm926ejs/interrupts.c
@@ -40,7 +40,6 @@
#include <asm/proc-armv/ptrace.h>
-extern void reset_cpu(ulong addr);
#define TIMER_LOAD_VAL 0xffffffff
/* macro to read the 32 bit timer */