]> Git Repo - qemu.git/commit - hw/arm/virt.c
hw/arm: simplify arm_load_dtb
authorTao Xu <[email protected]>
Fri, 9 Aug 2019 06:57:21 +0000 (14:57 +0800)
committerEduardo Habkost <[email protected]>
Tue, 3 Sep 2019 14:26:55 +0000 (11:26 -0300)
commit2744ece8095b8cdb0d667654debc1d80dd57bbd3
tree9c179bad978ed83c26f6f16ecc9355666ff3e1d5
parent14a25a511b36806f6cb8c30987850a7280235caf
hw/arm: simplify arm_load_dtb

In struct arm_boot_info, kernel_filename, initrd_filename and
kernel_cmdline are copied from from MachineState. This patch add
MachineState as a parameter into arm_load_dtb() and move the copy chunk
of kernel_filename, initrd_filename and kernel_cmdline into
arm_load_kernel().

Reviewed-by: Igor Mammedov <[email protected]>
Reviewed-by: Liu Jingqi <[email protected]>
Suggested-by: Igor Mammedov <[email protected]>
Signed-off-by: Tao Xu <[email protected]>
Message-Id: <20190809065731[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Acked-by: Andrew Jeffery <[email protected]>
Acked-by: Cédric Le Goater <[email protected]>
[ehabkost: include hw/boards.h again to fix build failures]
Signed-off-by: Eduardo Habkost <[email protected]>
30 files changed:
hw/arm/aspeed.c
hw/arm/boot.c
hw/arm/collie.c
hw/arm/cubieboard.c
hw/arm/exynos4_boards.c
hw/arm/highbank.c
hw/arm/imx25_pdk.c
hw/arm/integratorcp.c
hw/arm/kzm.c
hw/arm/mainstone.c
hw/arm/mcimx6ul-evk.c
hw/arm/mcimx7d-sabre.c
hw/arm/musicpal.c
hw/arm/nseries.c
hw/arm/omap_sx1.c
hw/arm/palm.c
hw/arm/raspi.c
hw/arm/realview.c
hw/arm/sabrelite.c
hw/arm/sbsa-ref.c
hw/arm/spitz.c
hw/arm/tosa.c
hw/arm/versatilepb.c
hw/arm/vexpress.c
hw/arm/virt.c
hw/arm/xilinx_zynq.c
hw/arm/xlnx-versal-virt.c
hw/arm/xlnx-zcu102.c
hw/arm/z2.c
include/hw/arm/boot.h
This page took 0.032121 seconds and 4 git commands to generate.