diff options
author | wdenk <wdenk> | 2005-04-03 17:23:39 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2005-04-03 17:23:39 +0000 |
commit | 3ec924a3cb7bc3b37be9adec695d7c3d563b3d2c (patch) | |
tree | a1e60fe7a788cbe86f8b9cde532273ba0f3df687 /cpu/arm920t | |
parent | 756f586a73d756f163dc03a049d650cc1a5b5899 (diff) | |
download | u-boot-3ec924a3cb7bc3b37be9adec695d7c3d563b3d2c.tar.gz u-boot-3ec924a3cb7bc3b37be9adec695d7c3d563b3d2c.tar.xz u-boot-3ec924a3cb7bc3b37be9adec695d7c3d563b3d2c.zip |
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.c | 2 | ||||
-rw-r--r-- | cpu/arm920t/interrupts.c | 2 | ||||
-rw-r--r-- | cpu/arm920t/s3c24x0/interrupts.c | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/cpu/arm920t/cpu.c b/cpu/arm920t/cpu.c index 2a2b578017..718f253471 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 ea58f154d4..bfab519640 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 92298b09f0..f581d6d607 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 */ |