Do not configure Altera PIO device on ARM startup.

PIO is a device implemented in soft-core and becomes
available after flashing FPGA only.
This commit is contained in:
br 2015-01-04 23:14:04 +00:00
parent 5c0e2da500
commit 436ac49059
2 changed files with 0 additions and 4 deletions

View File

@ -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);

View File

@ -211,8 +211,6 @@ setup_pio(device_t dev, char *name, device_t *pio_dev)
SLIST_FOREACH(ic, &fdt_ic_list_head, fdt_ics) {
if (ic->iph == pio_node) {
*pio_dev = ic->dev;
PIO_CONFIGURE(*pio_dev, PIO_OUT_ALL,
PIO_UNMASK_ALL);
return (0);
}
}