Tao Xu 2744ece809 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 <imammedo@redhat.com>
Reviewed-by: Liu Jingqi <jingqi.liu@intel.com>
Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Tao Xu <tao3.xu@intel.com>
Message-Id: <20190809065731.9097-2-tao3.xu@intel.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Acked-by: Cédric Le Goater <clg@kaod.org>
[ehabkost: include hw/boards.h again to fix build failures]
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2019-09-03 11:26:55 -03:00
..
2019-08-20 17:26:19 +02:00
2019-09-03 11:26:55 -03:00
2019-08-21 09:13:37 +02:00
2019-08-16 16:43:46 +01:00
2019-08-22 10:31:21 +01:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:53 +02:00
2019-08-27 14:18:28 +01:00
2019-08-16 19:14:04 -04:00
2019-08-22 10:31:21 +01:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:53 +02:00
2019-08-21 10:42:10 +02:00
2019-08-16 13:31:53 +02:00
2019-08-22 10:31:21 +01:00
2019-08-16 13:31:53 +02:00
2019-08-21 11:32:11 +10:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:53 +02:00
2019-08-22 10:31:21 +01:00
2019-08-16 13:31:53 +02:00
2019-08-22 15:10:51 +01:00
2019-08-16 13:31:53 +02:00