diff options
Diffstat (limited to 'common/image-host.c')
-rw-r--r-- | common/image-host.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/common/image-host.c b/common/image-host.c deleted file mode 100644 index 20a9521948..0000000000 --- a/common/image-host.c +++ /dev/null @@ -1,27 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Image code used by host tools (and not boards) - * - * (C) Copyright 2008 Semihalf - * - * (C) Copyright 2000-2006 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - */ - -#include <time.h> - -void memmove_wd(void *to, void *from, size_t len, ulong chunksz) -{ - memmove(to, from, len); -} - -void genimg_print_size(uint32_t size) -{ - printf("%d Bytes = %.2f KiB = %.2f MiB\n", size, (double)size / 1.024e3, - (double)size / 1.048576e6); -} - -void genimg_print_time(time_t timestamp) -{ - printf("%s", ctime(×tamp)); -} |