summaryrefslogtreecommitdiffstats
path: root/hw/riscv/sifive_u.c
diff options
context:
space:
mode:
authorPeter Maydell2021-07-30 12:59:46 +0200
committerPeter Maydell2021-08-26 18:02:00 +0200
commit7f4c520dac8c8d39e3d19db5a7e6e74693c9c6a4 (patch)
treecf0ed7a7b15c854005c849bd5308155d7b812bd4 /hw/riscv/sifive_u.c
parentarch_init.h: Move QEMU_ARCH_VIRTIO_* to qdev-monitor.c (diff)
downloadqemu-7f4c520dac8c8d39e3d19db5a7e6e74693c9c6a4.tar.gz
qemu-7f4c520dac8c8d39e3d19db5a7e6e74693c9c6a4.tar.xz
qemu-7f4c520dac8c8d39e3d19db5a7e6e74693c9c6a4.zip
arch_init.h: Don't include arch_init.h unnecessarily
arch_init.h only defines the QEMU_ARCH_* enumeration and the arch_type global. Don't include it in files that don't use those. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20210730105947.28215-8-peter.maydell@linaro.org
Diffstat (limited to 'hw/riscv/sifive_u.c')
-rw-r--r--hw/riscv/sifive_u.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/riscv/sifive_u.c b/hw/riscv/sifive_u.c
index 87bbd10b21..6cc1a62b0f 100644
--- a/hw/riscv/sifive_u.c
+++ b/hw/riscv/sifive_u.c
@@ -55,7 +55,6 @@
#include "hw/intc/sifive_plic.h"
#include "chardev/char.h"
#include "net/eth.h"
-#include "sysemu/arch_init.h"
#include "sysemu/device_tree.h"
#include "sysemu/runstate.h"
#include "sysemu/sysemu.h"