On Tue, Sep 06, 2022 at 09:54:49AM +0530, Sunil V L wrote: > load_image_to_fw_cfg() is duplicated by both arm and loongarch. The same > function will be required by riscv too. So, it's time to refactor and > move this function to a common path. > > Signed-off-by: Sunil V L <suni...@ventanamicro.com> > --- > hw/arm/boot.c | 49 --------------------------------------- > hw/loongarch/virt.c | 33 -------------------------- > hw/nvram/fw_cfg.c | 32 +++++++++++++++++++++++++ > include/hw/nvram/fw_cfg.h | 21 +++++++++++++++++ > 4 files changed, 53 insertions(+), 82 deletions(-) >
Reviewed-by: Andrew Jones <ajo...@ventanamicro.com>