Blame view
tools/mkimage.h
965 Bytes
83d290c56 SPDX: Convert all... |
1 |
/* SPDX-License-Identifier: GPL-2.0+ */ |
b97a2a0a2 [new uImage] Defi... |
2 3 4 5 |
/* * (C) Copyright 2000-2004 * DENX Software Engineering * Wolfgang Denk, wd@denx.de |
b97a2a0a2 [new uImage] Defi... |
6 |
*/ |
89a4d6b12 tools: mkimage: s... |
7 8 |
#ifndef _MKIIMAGE_H_ #define _MKIIMAGE_H_ |
2f8d396b9 Add support for b... |
9 |
#include "os_support.h" |
b97a2a0a2 [new uImage] Defi... |
10 11 12 13 14 |
#include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |
b97a2a0a2 [new uImage] Defi... |
15 16 17 |
#include <sys/stat.h> #include <time.h> #include <unistd.h> |
2b9912e6a includes: move op... |
18 |
#include <u-boot/sha1.h> |
8cf30809a [new uImage] Add ... |
19 |
#include "fdt_host.h" |
f86ed6a8d tools: moved code... |
20 |
#include "imagetool.h" |
b97a2a0a2 [new uImage] Defi... |
21 |
|
89a4d6b12 tools: mkimage: s... |
22 |
#undef MKIMAGE_DEBUG |
5dfb52138 [new uImage] New ... |
23 24 25 26 27 28 |
#ifdef MKIMAGE_DEBUG #define debug(fmt,args...) printf (fmt ,##args) #else #define debug(fmt,args...) #endif /* MKIMAGE_DEBUG */ |
2434c66da mkimage: Add map_... |
29 30 31 32 33 34 35 36 37 |
static inline void *map_sysmem(ulong paddr, unsigned long len) { return (void *)(uintptr_t)paddr; } static inline ulong map_to_sysmem(void *ptr) { return (ulong)(uintptr_t)ptr; } |
9d25438fe [new uImage] Add ... |
38 39 40 41 |
#define MKIMAGE_TMPFILE_SUFFIX ".tmp" #define MKIMAGE_MAX_TMPFILE_LEN 256 #define MKIMAGE_DEFAULT_DTC_OPTIONS "-I dts -O dtb -p 500" #define MKIMAGE_MAX_DTC_CMDLINE_LEN 512 |
89a4d6b12 tools: mkimage: s... |
42 |
|
89a4d6b12 tools: mkimage: s... |
43 |
#endif /* _MKIIMAGE_H_ */ |