Merge "bootm: fix size arg of flush_cache() in bootm_load_os()."

This commit is contained in:
Linux Build Service Account 2023-07-26 12:40:55 -07:00 committed by Gerrit - the friendly Code Review server
commit 31b5a01b30

View file

@ -442,7 +442,7 @@ int bootm_load_os(bootm_headers_t *images, unsigned long *load_end,
bootstage_error(BOOTSTAGE_ID_DECOMP_IMAGE);
return err;
}
flush_cache(load, (*load_end - load) * sizeof(ulong));
flush_cache(load, *load_end - load);
debug(" %s loaded at 0x%08lx, end = 0x%08lx\n",
genimg_get_type_name(os.type), load, *load_end);