Commit 5bd63aef authored by H. Nikolaus Schaller's avatar H. Nikolaus Schaller

do the same fix as "c4f5c41a fix image name field width in spl debug message" for OMAP3 and OMAP4

Signed-off-by: default avatarH. Nikolaus Schaller <>
parent 095e2de6
......@@ -116,9 +116,20 @@ 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);
char name[IH_NMLEN+1];
strncpy(name, spl_image->name, IH_NMLEN);
name[IH_NMLEN] = '\0';
debug("spl: payload image: %s load addr: 0x%x size: %d\n",
spl_image->load_addr, spl_image->size);
debug("spl: payload image: %-.*s load addr: 0x%x size: %d\n",
(int)IH_NMLEN, spl_image->name,
spl_image->load_addr, spl_image->size);
} else {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment