summaryrefslogtreecommitdiffstats
path: root/tools/mkimage.c
diff options
context:
space:
mode:
authorGuilherme Maciel Ferreira <guilherme.maciel@datacom.ind.br>2015-01-15 02:54:40 -0200
committerTom Rini <trini@ti.com>2015-01-29 13:38:41 -0500
commitf41f5b7c055865bae32129d005fed073315d589a (patch)
tree3007a1ca725fca00197299b6a04ff8abab8d563a /tools/mkimage.c
parenta93648d197df48fa46dd55f925ff70468bd81c71 (diff)
downloadtalos-obmc-uboot-f41f5b7c055865bae32129d005fed073315d589a.tar.gz
talos-obmc-uboot-f41f5b7c055865bae32129d005fed073315d589a.zip
dumpimage: add 'T' option to explicitly set the image type
Some image types, like "KeyStone GP", do not have magic numbers to distinguish them from other image types. Thus, the automatic image type discovery does not work correctly. This patch also fix some integer type mismatches. Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Diffstat (limited to 'tools/mkimage.c')
-rw-r--r--tools/mkimage.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/mkimage.c b/tools/mkimage.c
index f668487c89..5ccd951048 100644
--- a/tools/mkimage.c
+++ b/tools/mkimage.c
@@ -15,9 +15,6 @@
static void copy_file(int, const char *, int);
static void usage(void);
-/* image_type_params link list to maintain registered image type supports */
-struct image_type_params *mkimage_tparams = NULL;
-
/* parameters initialized by core will be used by the image type code */
struct image_tool_params params = {
.os = IH_OS_LINUX,
OpenPOWER on IntegriCloud