ColdFire: Fix build error when CONFIG_WATCHDOG is defined
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>
Thu, 25 Oct 2007 22:14:00 +0000 (17:14 -0500)
committerTsiChungLiew <Tsi-Chung.Liew@freescale.com>
Thu, 25 Oct 2007 22:14:00 +0000 (17:14 -0500)
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
lib_m68k/m68k_linux.c

index bea97441b14570293dcdafbbe6fa0acbc65fa816..cc974c2d60d7dfb4f5f8aa28f47a54b01ff50e9e 100644 (file)
@@ -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)