diff options
author | br <br@FreeBSD.org> | 2015-01-04 23:14:04 +0000 |
---|---|---|
committer | br <br@FreeBSD.org> | 2015-01-04 23:14:04 +0000 |
commit | 436ac49059d67a997849377ce07f1cef56018d8b (patch) | |
tree | f0737ef3bc541f0500819d3c21b4247959bebcff /sys/dev/altera | |
parent | 5c0e2da500ef4887abc89b0c9f7736f337ca32b5 (diff) | |
download | FreeBSD-src-436ac49059d67a997849377ce07f1cef56018d8b.zip FreeBSD-src-436ac49059d67a997849377ce07f1cef56018d8b.tar.gz |
Do not configure Altera PIO device on ARM startup.
PIO is a device implemented in soft-core and becomes
available after flashing FPGA only.
Diffstat (limited to 'sys/dev/altera')
-rw-r--r-- | sys/dev/altera/pio/pio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/altera/pio/pio.c b/sys/dev/altera/pio/pio.c index af610ef..cd95e81 100644 --- a/sys/dev/altera/pio/pio.c +++ b/sys/dev/altera/pio/pio.c @@ -178,8 +178,6 @@ pio_attach(device_t dev) sc->bst = rman_get_bustag(sc->res[0]); sc->bsh = rman_get_bushandle(sc->res[0]); - WRITE4(sc, PIO_DATA, 0); - if ((node = ofw_bus_get_node(sc->dev)) == -1) return (ENXIO); |