mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:

committed by
Tom Rini

parent
a93648d197
commit
f41f5b7c05
@ -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,
|
||||
|
Reference in New Issue
Block a user