summaryrefslogtreecommitdiff
path: root/cleopatre/u-boot-1.1.6/common
diff options
context:
space:
mode:
authorJérémy Dufour2012-10-23 14:51:53 +0200
committerJérémy Dufour2012-10-23 18:58:26 +0200
commiteb59f9336084e8400f5adb151df892bfec197a0c (patch)
tree552be5197e852bbf44a418bda219c1553c6ebfd7 /cleopatre/u-boot-1.1.6/common
parent7d39280584f63206e9e691833fee5cf623f5d626 (diff)
cleo/uboot: use common watchdog API, closes #3296
Changes introduced by commit 170f07194643 should have been reported to uboot too.
Diffstat (limited to 'cleopatre/u-boot-1.1.6/common')
-rw-r--r--cleopatre/u-boot-1.1.6/common/cmd_spidboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cleopatre/u-boot-1.1.6/common/cmd_spidboot.c b/cleopatre/u-boot-1.1.6/common/cmd_spidboot.c
index 77b7736cb3..67e04ca012 100644
--- a/cleopatre/u-boot-1.1.6/common/cmd_spidboot.c
+++ b/cleopatre/u-boot-1.1.6/common/cmd_spidboot.c
@@ -31,13 +31,13 @@
#include <net.h>
#include <asm/arch/spid_img_desc.h>
#include <asm/arch/nvram.h>
+#include <asm/arch/wdt.h>
DECLARE_GLOBAL_DATA_PTR;
extern int do_spidupd (void);
extern flash_info_t flash_info[]; /* info for SPI FLASH chip */
extern void flush_dcache(void);
-extern int wdt_restart(int timeout);
/*
* Some systems (for example LWMON) have very short watchdog periods;
@@ -654,7 +654,7 @@ int do_spidboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
cleanup_before_linux ();
/* Start Watchdog with timeout=2s */
- wdt_restart(2);
+ spc300_wdt_start(2);
/* GO */
appl = (void (*) (int, int, uint))(img_load_addr) ;