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/at91rm9200 | |
parent | 756f586a73d756f163dc03a049d650cc1a5b5899 (diff) | |
download | u-boot-3ec924a3cb7bc3b37be9adec695d7c3d563b3d2c.zip u-boot-3ec924a3cb7bc3b37be9adec695d7c3d563b3d2c.tar.gz u-boot-3ec924a3cb7bc3b37be9adec695d7c3d563b3d2c.tar.bz2 |
Patch by Steven Scholz, 25 Oct 2004:
Declare reset_cpu() in include/common.h instead locally
Diffstat (limited to 'cpu/at91rm9200')
-rw-r--r-- | cpu/at91rm9200/cpu.c | 2 | ||||
-rw-r--r-- | cpu/at91rm9200/interrupts.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/cpu/at91rm9200/cpu.c b/cpu/at91rm9200/cpu.c index 90a4f9c..9fdb703 100644 --- a/cpu/at91rm9200/cpu.c +++ b/cpu/at91rm9200/cpu.c @@ -115,8 +115,6 @@ int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) { #ifdef CFG_SOFT_RESET - extern void reset_cpu(ulong addr); - disable_interrupts(); reset_cpu(0); #else diff --git a/cpu/at91rm9200/interrupts.c b/cpu/at91rm9200/interrupts.c index 1c071bb..f15c583 100644 --- a/cpu/at91rm9200/interrupts.c +++ b/cpu/at91rm9200/interrupts.c @@ -35,8 +35,6 @@ #include <asm/arch/hardware.h> #include <asm/proc/ptrace.h> -extern void reset_cpu(ulong addr); - /* the number of clocks per CFG_HZ */ #define TIMER_LOAD_VAL (CFG_HZ_CLOCK/CFG_HZ) |