summaryrefslogtreecommitdiff
path: root/cpu/arm1136
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/arm1136
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/arm1136')
-rw-r--r--cpu/arm1136/cpu.c2
-rw-r--r--cpu/arm1136/interrupts.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/cpu/arm1136/cpu.c b/cpu/arm1136/cpu.c
index d5c5dc8..7fa5ddc 100644
--- a/cpu/arm1136/cpu.c
+++ b/cpu/arm1136/cpu.c
@@ -131,8 +131,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/arm1136/interrupts.c b/cpu/arm1136/interrupts.c
index e87a628..c80d9a5 100644
--- a/cpu/arm1136/interrupts.c
+++ b/cpu/arm1136/interrupts.c
@@ -35,7 +35,6 @@
#include <asm/arch/omap2420.h>
#include <asm/proc-armv/ptrace.h>
-extern void reset_cpu(ulong addr);
#define TIMER_LOAD_VAL 0
/* macro to read the 32 bit timer */