summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2018-05-04 16:12:13 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2018-05-04 16:12:13 +0000
commitafe19330876b6692754b307b56a63f3d794976aa (patch)
treec911272d6af12b8c6c75c03c75a597dcf3f67f5f /sys/arch
parent8552cd98060d6ffd16a669d0b1fe7d53dba26ac2 (diff)
Add a common rules file for ofw sources to help keep the configurations
of fdt-enabled platforms in sync. OK deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm/conf/files.arm4
-rw-r--r--sys/arch/arm64/conf/files.arm6410
-rw-r--r--sys/arch/armv7/conf/files.armv710
-rw-r--r--sys/arch/octeon/conf/files.octeon9
4 files changed, 7 insertions, 26 deletions
diff --git a/sys/arch/arm/conf/files.arm b/sys/arch/arm/conf/files.arm
index 53826b131e4..bb88f05720c 100644
--- a/sys/arch/arm/conf/files.arm
+++ b/sys/arch/arm/conf/files.arm
@@ -1,4 +1,4 @@
-# $OpenBSD: files.arm,v 1.48 2018/02/10 12:44:20 mpi Exp $
+# $OpenBSD: files.arm,v 1.49 2018/05/04 16:12:12 visa Exp $
# $NetBSD: files.arm,v 1.76 2003/11/05 12:53:15 scw Exp $
# generic networking files
@@ -28,7 +28,7 @@ attach simplebus at fdt
file arch/arm/simplebus/simplebus.c simplebus
# FDT support
-file dev/ofw/fdt.c
+include "dev/ofw/files.ofw"
include "arch/arm/cortex/files.cortex"
diff --git a/sys/arch/arm64/conf/files.arm64 b/sys/arch/arm64/conf/files.arm64
index 9b840ba9190..edb7391860b 100644
--- a/sys/arch/arm64/conf/files.arm64
+++ b/sys/arch/arm64/conf/files.arm64
@@ -1,4 +1,4 @@
-# $OpenBSD: files.arm64,v 1.20 2018/05/02 15:16:31 patrick Exp $
+# $OpenBSD: files.arm64,v 1.21 2018/05/04 16:12:12 visa Exp $
maxpartitions 16
maxusers 2 8 64
@@ -63,13 +63,7 @@ attach efi at fdt
file arch/arm64/dev/efi.c efi
# FDT support
-file dev/ofw/fdt.c
-file dev/ofw/ofw_clock.c
-file dev/ofw/ofw_gpio.c
-file dev/ofw/ofw_misc.c
-file dev/ofw/ofw_pinctrl.c
-file dev/ofw/ofw_power.c
-file dev/ofw/ofw_regulator.c
+include "dev/ofw/files.ofw"
# Machine-independent SCSI drivers
include "scsi/files.scsi"
diff --git a/sys/arch/armv7/conf/files.armv7 b/sys/arch/armv7/conf/files.armv7
index 429d93b5428..02908c23394 100644
--- a/sys/arch/armv7/conf/files.armv7
+++ b/sys/arch/armv7/conf/files.armv7
@@ -1,4 +1,4 @@
-# $OpenBSD: files.armv7,v 1.34 2018/05/02 15:16:31 patrick Exp $
+# $OpenBSD: files.armv7,v 1.35 2018/05/04 16:12:12 visa Exp $
maxpartitions 16
maxusers 2 8 64
@@ -26,14 +26,6 @@ file arch/armv7/armv7/autoconf.c
file arch/armv7/armv7/platform.c
file arch/arm/arm/disksubr.c disk
-# FDT support
-file dev/ofw/ofw_clock.c
-file dev/ofw/ofw_gpio.c
-file dev/ofw/ofw_misc.c
-file dev/ofw/ofw_pinctrl.c
-file dev/ofw/ofw_power.c
-file dev/ofw/ofw_regulator.c
-
include "dev/sdmmc/files.sdmmc"
# Media Independent Interface (mii)
diff --git a/sys/arch/octeon/conf/files.octeon b/sys/arch/octeon/conf/files.octeon
index da26ed75bff..fc22a935f88 100644
--- a/sys/arch/octeon/conf/files.octeon
+++ b/sys/arch/octeon/conf/files.octeon
@@ -1,4 +1,4 @@
-# $OpenBSD: files.octeon,v 1.46 2018/05/02 16:09:08 visa Exp $
+# $OpenBSD: files.octeon,v 1.47 2018/05/04 16:12:12 visa Exp $
# Standard stanzas config(8) can't run without
maxpartitions 16
@@ -13,12 +13,6 @@ major { octcf = 15 }
major { amdcf = 19 }
file dev/cninit.c
-file dev/ofw/fdt.c
-file dev/ofw/ofw_gpio.c
-file dev/ofw/ofw_misc.c
-file dev/ofw/ofw_pinctrl.c
-file dev/ofw/ofw_power.c
-file dev/ofw/ofw_regulator.c
file arch/octeon/octeon/autoconf.c
file arch/octeon/octeon/bus_dma.c
file arch/octeon/octeon/conf.c
@@ -35,6 +29,7 @@ include "dev/gpio/files.gpio"
include "dev/isa/files.isa"
include "dev/isa/files.isapnp"
include "dev/mii/files.mii"
+include "dev/ofw/files.ofw"
include "dev/onewire/files.onewire"
include "dev/pci/files.pci"
include "dev/pckbc/files.pckbc"