fdt,simple_mfd: Map memory as shareable.
It may be submapped in child drivers. MFC after: 3 weeks
This commit is contained in:
@@ -207,7 +207,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_ACTIVE | RF_SHAREABLE);
|
||||
if (sc->mem_res == NULL) {
|
||||
device_printf(dev,
|
||||
"Cannot allocate memory resource\n");
|
||||
|
||||
Reference in New Issue
Block a user