Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/fdt simplebus, cpus, and syscon do not need their ow...
details: https://anonhg.NetBSD.org/src/rev/a04da10d2bf7
branches: trunk
changeset: 378858:a04da10d2bf7
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Apr 26 15:02:29 2021 +0000
description:
simplebus, cpus, and syscon do not need their own interface attribute; they
use the "fdt" interface attribute to attach children.
diffstat:
sys/dev/fdt/files.fdt | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r b0750117d511 -r a04da10d2bf7 sys/dev/fdt/files.fdt
--- a/sys/dev/fdt/files.fdt Mon Apr 26 14:44:16 2021 +0000
+++ b/sys/dev/fdt/files.fdt Mon Apr 26 15:02:29 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.fdt,v 1.60 2020/12/31 15:12:33 ryo Exp $
+# $NetBSD: files.fdt,v 1.61 2021/04/26 15:02:29 thorpej Exp $
include "external/bsd/libfdt/conf/files.libfdt"
@@ -9,7 +9,7 @@ defparam opt_fdt.h FDT_DEFAULT_STDOUT
define fdt { [pass = 10] } : clk, pwm
-device simplebus { } : fdt
+device simplebus: fdt
attach simplebus at fdt
file dev/fdt/fdtbus.c fdt
@@ -84,7 +84,7 @@ file dev/fdt/fdt_spi.c fdt
file dev/fdt/fdt_syscon.c fdt
file dev/fdt/fdt_pinctrl.c fdt
-device cpus { } : fdt
+device cpus: fdt
attach cpus at fdt
file dev/fdt/cpus.c cpus
@@ -94,7 +94,7 @@ file dev/fdt/mmc_pwrseq_simple.c mmcpwr
attach mmcpwrseq at fdt with mmcpwrseq_emmc
file dev/fdt/mmc_pwrseq_emmc.c mmcpwrseq_emmc
-device syscon { } : fdt
+device syscon: fdt
attach syscon at fdt
file dev/fdt/syscon.c syscon
Home |
Main Index |
Thread Index |
Old Index