That part is important to make the fb show up

This commit is contained in:
Nadja Reitzenstein
2022-11-05 23:37:04 +01:00
parent a462b5fe45
commit 662ff76f06

View File

@@ -24,7 +24,7 @@ public final class SimpleFramebufferDeviceProvider implements DeviceTreeProvider
final Optional<MappedMemoryRange> range = memoryMap.getMemoryRange((MemoryMappedDevice) device);
return range.map(r -> {
final DeviceTree chosen = root.find("/chosen");
//chosen.addProp(DevicePropertyNames.RANGES);
chosen.addProp(DevicePropertyNames.RANGES);
return chosen.getChild(deviceName, r.address());
});