Skip to content
Snippets Groups Projects

android: support boot header version 3 and 4

Closed Safae Ouajih requested to merge souajih/v4_ti into integ/ti-u-boot-2021.01
1 unresolved thread
1 file
+ 8
0
Compare changes
  • Side-by-side
  • Inline
+ 8
0
@@ -340,6 +340,14 @@ static int fb_mmc_update_zimage(struct blk_desc *dev_desc,
return -1;
}
/* Check if boot image header version is 2 or less */
if (hdr->header_version > 2) {
pr_err("zImage flashing supported only for boot images v2 and less\n");
fastboot_fail("zImage flashing supported only for boot images v2 and less",
response);
return -1;
}
/* Check if boot image has second stage in it (we don't support it) */
if (hdr->second_size > 0) {
pr_err("moving second stage is not supported yet\n");
Loading