summaryrefslogtreecommitdiff
path: root/lib_m68k
diff options
context:
space:
mode:
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>2007-10-25 17:14:00 -0500
committerTsiChungLiew <Tsi-Chung.Liew@freescale.com>2007-10-25 17:14:00 -0500
commit688e8eb414ac111cca7ce60bdf30e805ab9a7bcb (patch)
treec777e7ead322f8f49841d03d3a7e30a03989a3ee /lib_m68k
parentc67e12e705b204cfe914e3e3e693d69a445dcabf (diff)
downloadu-boot-imx-688e8eb414ac111cca7ce60bdf30e805ab9a7bcb.zip
u-boot-imx-688e8eb414ac111cca7ce60bdf30e805ab9a7bcb.tar.gz
u-boot-imx-688e8eb414ac111cca7ce60bdf30e805ab9a7bcb.tar.bz2
ColdFire: Fix build error when CONFIG_WATCHDOG is defined
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'lib_m68k')
-rw-r--r--lib_m68k/m68k_linux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib_m68k/m68k_linux.c b/lib_m68k/m68k_linux.c
index bea9744..cc974c2 100644
--- a/lib_m68k/m68k_linux.c
+++ b/lib_m68k/m68k_linux.c
@@ -26,6 +26,7 @@
#include <image.h>
#include <zlib.h>
#include <bzlib.h>
+#include <watchdog.h>
#include <environment.h>
#include <asm/byteorder.h>
@@ -36,6 +37,8 @@ DECLARE_GLOBAL_DATA_PTR;
#define LINUX_MAX_ENVS 256
#define LINUX_MAX_ARGS 256
+#define CHUNKSZ (64 * 1024)
+
#ifdef CONFIG_SHOW_BOOT_PROGRESS
# include <status_led.h>
# define SHOW_BOOT_PROGRESS(arg) show_boot_progress(arg)