Blame view
tools/mkimage.h
965 Bytes
b97a2a0a2 [new uImage] Defi... |
1 2 3 4 |
/* * (C) Copyright 2000-2004 * DENX Software Engineering * Wolfgang Denk, wd@denx.de |
b97a2a0a2 [new uImage] Defi... |
5 |
* |
1a4596601 Add GPL-2.0+ SPDX... |
6 |
* SPDX-License-Identifier: GPL-2.0+ |
b97a2a0a2 [new uImage] Defi... |
7 |
*/ |
89a4d6b12 tools: mkimage: s... |
8 9 |
#ifndef _MKIIMAGE_H_ #define _MKIIMAGE_H_ |
2f8d396b9 Add support for b... |
10 |
#include "os_support.h" |
b97a2a0a2 [new uImage] Defi... |
11 12 13 14 15 |
#include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |
b97a2a0a2 [new uImage] Defi... |
16 17 18 |
#include <sys/stat.h> #include <time.h> #include <unistd.h> |
2b9912e6a includes: move op... |
19 |
#include <u-boot/sha1.h> |
8cf30809a [new uImage] Add ... |
20 |
#include "fdt_host.h" |
f86ed6a8d tools: moved code... |
21 |
#include "imagetool.h" |
b97a2a0a2 [new uImage] Defi... |
22 |
|
89a4d6b12 tools: mkimage: s... |
23 |
#undef MKIMAGE_DEBUG |
5dfb52138 [new uImage] New ... |
24 25 26 27 28 29 |
#ifdef MKIMAGE_DEBUG #define debug(fmt,args...) printf (fmt ,##args) #else #define debug(fmt,args...) #endif /* MKIMAGE_DEBUG */ |
2434c66da mkimage: Add map_... |
30 31 32 33 34 35 36 37 38 |
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 ... |
39 40 41 42 |
#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... |
43 |
|
89a4d6b12 tools: mkimage: s... |
44 |
#endif /* _MKIIMAGE_H_ */ |