Revert r351129

the point of syscon node is to avoid multiple device driver reading/writing
to the same area.

Reported by:	ian
This commit is contained in:
Emmanuel Vadot 2019-08-17 19:05:11 +00:00
parent 6b2f017186
commit b52d0dc469
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351177

View File

@ -187,7 +187,7 @@ simple_mfd_attach(device_t dev)
if (ofw_bus_is_compatible(dev, "syscon")) {
sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
RF_ACTIVE | RF_SHAREABLE);
RF_ACTIVE);
if (sc->mem_res == NULL) {
device_printf(dev,
"Cannot allocate memory resource\n");