fdt,simple_mfd: Map memory as shareable.

It may be submapped in child drivers.

MFC after:	3 weeks
This commit is contained in:
Michal Meloun
2025-11-06 20:21:49 +01:00
parent 67fc0ff33d
commit f40ed4881e
+1 -1
View File
@@ -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");