From 3ec924a3cb7bc3b37be9adec695d7c3d563b3d2c Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 3 Apr 2005 17:23:39 +0000 Subject: Patch by Steven Scholz, 25 Oct 2004: Declare reset_cpu() in include/common.h instead locally --- cpu/at91rm9200/cpu.c | 2 -- cpu/at91rm9200/interrupts.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'cpu/at91rm9200') diff --git a/cpu/at91rm9200/cpu.c b/cpu/at91rm9200/cpu.c index 90a4f9cd0..9fdb70373 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 1c071bbf3..f15c5830b 100644 --- a/cpu/at91rm9200/interrupts.c +++ b/cpu/at91rm9200/interrupts.c @@ -35,8 +35,6 @@ #include #include -extern void reset_cpu(ulong addr); - /* the number of clocks per CFG_HZ */ #define TIMER_LOAD_VAL (CFG_HZ_CLOCK/CFG_HZ) -- cgit v1.2.3