Include hw/boards.h a bit less
commit12e9493df9242a2051701e7eb64175d4e904acba
authorMarkus Armbruster <armbru@redhat.com>
Mon, 12 Aug 2019 05:23:52 +0000 (12 07:23 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 16 Aug 2019 11:31:53 +0000 (16 13:31 +0200)
tree3a3246715d70676cda314d3f17dda31d67999f37
parenta27bd6c779badb8d76e4430d810ef710a1b98f4e
Include hw/boards.h a bit less

hw/boards.h pulls in almost 60 headers.  The less we include it into
headers, the better.  As a first step, drop superfluous inclusions,
and downgrade some more to what's actually needed.  Gets rid of just
one inclusion into a header.

Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190812052359.30071-23-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
44 files changed:
backends/cryptodev-builtin.c
backends/cryptodev-vhost-user.c
backends/cryptodev.c
hw/acpi/ich9.c
hw/alpha/dp264.c
hw/alpha/typhoon.c
hw/arm/boot.c
hw/arm/exynos4210.c
hw/arm/fsl-imx25.c
hw/arm/fsl-imx31.c
hw/arm/msf2-soc.c
hw/arm/nrf51_soc.c
hw/arm/omap1.c
hw/arm/omap2.c
hw/arm/smmuv3.c
hw/arm/virt.c
hw/core/numa.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/i386/pc_sysfw.c
hw/ppc/e500plat.c
hw/ppc/mpc8544ds.c
hw/ppc/pnv.c
hw/ppc/ppc405_uc.c
hw/ppc/spapr_cpu_core.c
hw/ppc/spapr_vio.c
hw/riscv/boot.c
hw/s390x/s390-stattrib.c
hw/xtensa/xtensa_memory.c
include/hw/mem/pc-dimm.h
monitor/qmp-cmds.c
target/alpha/machine.c
target/arm/machine.c
target/arm/monitor.c
target/hppa/machine.c
target/i386/hvf/hvf.c
target/i386/hvf/x86_task.c
target/i386/machine.c
target/i386/whpx-all.c
target/lm32/machine.c
target/moxie/machine.c
target/openrisc/machine.c
target/ppc/machine.c
target/sparc/machine.c