diff options
author | Marian Balakowicz <m8@semihalf.com> | 2008-01-08 18:11:45 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-02-07 01:12:56 +0100 |
commit | af13cdbc01eaf88880978bfb4f603e012818ba24 (patch) | |
tree | 87f9c7d3abf919f3ddf3dd22257b68b9bfe7505e /include/image.h | |
parent | 958fc48abddeab513ea4847e34f22a2e9fe67fe1 (diff) | |
download | u-boot-imx-af13cdbc01eaf88880978bfb4f603e012818ba24.zip u-boot-imx-af13cdbc01eaf88880978bfb4f603e012818ba24.tar.gz u-boot-imx-af13cdbc01eaf88880978bfb4f603e012818ba24.tar.bz2 |
[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>
Diffstat (limited to 'include/image.h')
-rw-r--r-- | include/image.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ static inline void image_set_name (image_header_t *hdr, const char *name) 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) { |