summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-11-20 04:35:45 +0300
committerTom Rini <trini@konsulko.com>2017-11-20 04:35:45 +0300
commit29c49922561676854482f2133037c16f60fcfba8 (patch)
treec8bd5b8d54b90d8e8d7f81db5774697dc574a1fd /common
parentb6251db8c3f0de605b4cd6f15a00fc7dd19cda63 (diff)
parentafc1a78a0bd5db69f72db1dfa07b4a37a54343f6 (diff)
downloadu-boot-29c49922561676854482f2133037c16f60fcfba8.tar.xz
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'common')
-rw-r--r--common/spl/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c
index aaddddd995..d232f67ba9 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -154,7 +154,7 @@ int spl_parse_image_header(struct spl_image_info *spl_image,
spl_image->os = image_get_os(header);
spl_image->name = image_get_name(header);
debug("spl: payload image: %.*s load addr: 0x%lx size: %d\n",
- (int)sizeof(spl_image->name), spl_image->name,
+ IH_NMLEN, spl_image->name,
spl_image->load_addr, spl_image->size);
#else
/* LEGACY image not supported */