[new uImage] Add memmove_wd() common routine
Move common, watchdog sensible memmove code to a helper memmmove_wd() routine.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
diff --git a/include/image.h b/include/image.h
index aab3f44..9dc0343 100644
--- a/include/image.h
+++ b/include/image.h
@@ -250,8 +250,11 @@
int image_check_hcrc (image_header_t *hdr);
int image_check_dcrc (image_header_t *hdr);
+#ifndef USE_HOSTCC
int image_check_dcrc_wd (image_header_t *hdr, ulong chunksize);
int getenv_verify (void);
+void memmove_wd (void *to, void *from, size_t len, ulong chunksz);
+#endif
static inline int image_check_magic (image_header_t *hdr)
{