boot_buf was used to point to the memory allocated in do_boota function
to save boot partition data. now boot partition is loaded by AVB, this
boot_buf should be removed.
Change-Id: I614c412b5f7ed980d29106b364a8193c56db13dc
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
(cherry picked from commit
2a27f021798e31a8bab37804b053d2b9ebaea928)
(cherry picked from commit
4ae3275bb7065dfcf99dcdf559eaf99d044c51e0)
ulong addr = 0;
struct andr_img_hdr *hdr = NULL;
- void *boot_buf = NULL;
ulong image_size;
u32 avb_metric;
bool check_image_arm64 = false;
if (avb_out_data != NULL)
avb_slot_verify_data_free(avb_out_data);
- if (boot_buf != NULL)
- free(boot_buf);
if (check_image_arm64) {
#ifdef CONFIG_CMD_BOOTI