qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/3] hw/arm: Refactor struct arm_boot_info::get_dtb()


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 1/3] hw/arm: Refactor struct arm_boot_info::get_dtb()
Date: Mon, 15 Jan 2024 12:06:58 +0100
User-agent: Mozilla Thunderbird

On 15/1/24 05:34, Bin Meng wrote:
At present we expect struct arm_boot_info::get_dtb() to return the
device tree pointer as well as the device tree size. However, this
is not necessary as we can get the device tree size via the device
tree header directly. Change get_dtb() signature to drop the *size
argument, and get the size by ourselves.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
---

  include/hw/arm/boot.h     | 8 ++++----
  hw/arm/boot.c             | 3 ++-
  hw/arm/sbsa-ref.c         | 3 +--
  hw/arm/virt.c             | 4 +---
  hw/arm/xlnx-versal-virt.c | 4 +---
  5 files changed, 9 insertions(+), 13 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]