[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V3 1/3] hw/arm,loongarch: Move load_image_to_fw_cfg() to comm
From: |
Andrew Jones |
Subject: |
Re: [PATCH V3 1/3] hw/arm,loongarch: Move load_image_to_fw_cfg() to common location |
Date: |
Tue, 6 Sep 2022 09:20:27 +0200 |
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 <sunilvl@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 <ajones@ventanamicro.com>