summaryrefslogtreecommitdiffstats
path: root/sys/arm/mv/mv_machdep.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2014-01-05 18:46:58 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2014-01-05 18:46:58 +0000
commitf06ffda24307372cdf9724883f8b78e76ba141cc (patch)
tree0809eb8a8b9681c317f608796af896a38368fe13 /sys/arm/mv/mv_machdep.c
parent80568041a3ca34da996e70860437a6aa3c45f50b (diff)
downloadFreeBSD-src-f06ffda24307372cdf9724883f8b78e76ba141cc.zip
FreeBSD-src-f06ffda24307372cdf9724883f8b78e76ba141cc.tar.gz
Retire machine/fdt.h as a header used by MI code, as its function is now
obsolete. This involves the following pieces: - Remove it entirely on PowerPC, where it is not used by MD code either - Remove all references to machine/fdt.h in non-architecture-specific code (aside from uart_cpu_fdt.c, shared by ARM and MIPS, and so is somewhat non-arch-specific). - Fix code relying on header pollution from machine/fdt.h includes - Legacy fdtbus.c (still used on x86 FDT systems) now passes resource requests to its parent (nexus). This allows x86 FDT devices to allocate both memory and IO requests and removes the last notionally MI use of fdtbus_bs_tag. - On those architectures that retain a machine/fdt.h, unused bits like FDT_MAP_IRQ and FDT_INTR_MAX have been removed.
Diffstat (limited to 'sys/arm/mv/mv_machdep.c')
-rw-r--r--sys/arm/mv/mv_machdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/mv/mv_machdep.c b/sys/arm/mv/mv_machdep.c
index 6fb6db6..5b2fbe7 100644
--- a/sys/arm/mv/mv_machdep.c
+++ b/sys/arm/mv/mv_machdep.c
@@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/devmap.h>
+#include <machine/fdt.h>
#include <machine/machdep.h>
#include <arm/mv/mvreg.h> /* XXX */
OpenPOWER on IntegriCloud