aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2022-12-06 10:57:37 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2023-08-08 13:13:31 +0000
commitfdfd3a90b6ceba838a40c3c51472883e7de8a440 (patch)
treeebe65ba889755871e2322d57f3db4fc0e5707097 /sys/conf
parent9ade2745db8be213e9da2225795cafb8e7575e29 (diff)
ofw: Add a ofw_firmware driver
Some SoCs have an external firmware doing power management, clock and other stuffs. (Xilinx, ARM Juno etc ...) The way it is represent in the DTB is usually having a 'firmware' node under the root node and have some nodes under it with the correct compatible strings. The firmware node itself doesn't have any compatible strings. This driver is simple subclassed from simplebus and attaches at BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE so early drivers (like clock drivers) can still have a change to attach early. Reviewed by: andrew Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D37612
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 8838137f6989..3d405b3d86b5 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -2579,6 +2579,7 @@ dev/ofw/ofw_bus_if.m optional fdt
dev/ofw/ofw_bus_subr.c optional fdt
dev/ofw/ofw_cpu.c optional fdt
dev/ofw/ofw_fdt.c optional fdt
+dev/ofw/ofw_firmware.c optional fdt
dev/ofw/ofw_if.m optional fdt
dev/ofw/ofw_graph.c optional fdt
dev/ofw/ofw_subr.c optional fdt