aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/files
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2015-12-21 18:07:32 +0000
committerIan Lepore <ian@FreeBSD.org>2015-12-21 18:07:32 +0000
commitbc7b930020041739630c9430ea67ef87a67c1c38 (patch)
treed71ce8ea746db2371af40f1155e7fe871d285138 /sys/conf/files
parentbf231994779e4b67b6f3b0aa94448b4dd014b829 (diff)
downloadsrc-bc7b930020041739630c9430ea67ef87a67c1c38.tar.gz
src-bc7b930020041739630c9430ea67ef87a67c1c38.zip
Implement OF_decode_addr() for arm. Move most of powerpc's implementation
into a new function that other platforms can share. This creates a new ofw_reg_to_paddr() function (in a new ofw_subr.c file) that contains most of the existing ppc implementation, mostly unchanged. The ppc code now calls the new MI code from the MD code, then creates a ppc-specific bus_space mapping from the results. The new arm implementation does the same in an arm-specific way. This also moves the declaration of OF_decode_addr() from ofw_machdep.h to openfirm.h, except on sparc64 which uses a different function signature. This will help all FDT platforms to set up early console access using OF_decode_addr().
Notes
Notes: svn path=/head/; revision=292555
Diffstat (limited to 'sys/conf/files')
-rw-r--r--sys/conf/files1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 55174f7be75d..9345e3caa49e 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -2094,6 +2094,7 @@ dev/ofw/ofw_bus_subr.c optional fdt
dev/ofw/ofw_fdt.c optional fdt
dev/ofw/ofw_if.m optional fdt
dev/ofw/ofw_iicbus.c optional fdt iicbus
+dev/ofw/ofw_subr.c optional fdt
dev/ofw/ofwbus.c optional fdt
dev/ofw/openfirm.c optional fdt
dev/ofw/openfirmio.c optional fdt