Changes for U-Boot 1.1.3:
======================================================================
+* Patch by Steven Scholz, 25 Oct 2004:
+ Declare reset_cpu() in include/common.h instead locally
+
* Patch by Yusdi Santoso, 22 Oct 2004:
- Add support for HIDDEN_DRAGON board
- fix endianess problem in driver/rtl1839.c
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*/
#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 */
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*/
#include <asm/proc-armv/ptrace.h>
#include <asm/hardware.h>
-extern void reset_cpu(ulong addr);
-
#ifndef CONFIG_NETARM
/* we always count down the max. */
#define TIMER_LOAD_VAL 0xffff
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*/
#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)
#include <s3c2410.h>
#endif
-extern void reset_cpu(ulong addr);
int timer_load_val = 0;
/* macro to read the 16 bit timer */
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*/
#include <asm/proc-armv/ptrace.h>
-extern void reset_cpu(ulong addr);
#define TIMER_LOAD_VAL 0xffffffff
/* macro to read the 32 bit timer */
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*/
#include <asm/proc-armv/ptrace.h>
-extern void reset_cpu(ulong addr);
#define TIMER_LOAD_VAL 0xffffffff
/* macro to read the 32 bit timer */
{
#ifdef CFG_SOFT_RESET
- extern void reset_cpu(ulong addr);
-
disable_interrupts();
reset_cpu(0);
#else
#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)
int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
- extern void reset_cpu(ulong addr);
-
printf ("resetting ...\n");
udelay(50000); /* wait 50 ms */
disable_interrupts();
int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
- extern void reset_cpu (ulong addr);
-
printf ("resetting ...\n");
udelay (50000); /* wait 50 ms */
#include <common.h>
#include <asm/arch/ixp425.h>
-extern void reset_cpu (ulong addr);
-
#ifdef CONFIG_USE_IRQ
/* enable IRQ/FIQ interrupts */
void enable_interrupts (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*/
#include <asm/proc-armv/ptrace.h>
-extern void reset_cpu(ulong addr);
static ulong timer_load_val = 0;
/* macro to read the 16 bit timer */
int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
- extern void reset_cpu (ulong addr);
-
printf ("resetting ...\n");
udelay (50000); /* wait 50 ms */
#include <common.h>
#include <asm/arch/pxa-regs.h>
-extern void reset_cpu (ulong addr);
-
#ifdef CONFIG_USE_IRQ
/* enable IRQ/FIQ interrupts */
void enable_interrupts (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);
#include <asm/proc-armv/ptrace.h>
-extern void reset_cpu(ulong addr);
-
/* we always count down the max. */
#define TIMER_LOAD_VAL 0xffff
int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
- extern void reset_cpu (ulong addr);
-
printf ("resetting ...\n");
udelay (50000); /* wait 50 ms */
#include <asm/proc-armv/ptrace.h>
-extern void reset_cpu (ulong addr);
-
#ifdef CONFIG_USE_IRQ
/* enable IRQ/FIQ interrupts */
void enable_interrupts (void)
int checkdcache (void);
void upmconfig (unsigned int, unsigned int *, unsigned int);
ulong get_tbclk (void);
+void reset_cpu (ulong addr);
/* $(CPU)/serial.c */
int serial_init (void);