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.m...@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é <phi...@linaro.org>


Reply via email to