summaryrefslogtreecommitdiff
path: root/sys/dev/fdt/pluart_fdt.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2022-03-13 21:17:53 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2022-03-13 21:17:53 +0000
commit1eff01a8ff88ebd97aea167b483eeec23831e29c (patch)
tree41b092265c1c33cb07672748460f4a4eedc9b501 /sys/dev/fdt/pluart_fdt.c
parent55ab83c98fd349afedc55206dba75d0c74f151b2 (diff)
Revert previous commit. It breaks the serial console on my rpi4.
Diffstat (limited to 'sys/dev/fdt/pluart_fdt.c')
-rw-r--r--sys/dev/fdt/pluart_fdt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/fdt/pluart_fdt.c b/sys/dev/fdt/pluart_fdt.c
index 2633f05df1d..7be34b37f19 100644
--- a/sys/dev/fdt/pluart_fdt.c
+++ b/sys/dev/fdt/pluart_fdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pluart_fdt.c,v 1.5 2022/03/11 06:45:22 anton Exp $ */
+/* $OpenBSD: pluart_fdt.c,v 1.6 2022/03/13 21:17:52 kettenis Exp $ */
/*
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2005 Dale Rahn <drahn@dalerahn.com>
@@ -69,9 +69,6 @@ pluart_fdt_attach(struct device *parent, struct device *self, void *aux)
return;
}
- if (OF_is_compatible(faa->fa_node, "arm,sbsa-uart"))
- sc->sc_hwflags |= COM_HW_SBSA;
-
sc->sc_irq = fdt_intr_establish(faa->fa_node, IPL_TTY, pluart_intr,
sc, sc->sc_dev.dv_xname);