summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dev/arm/RealView.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py
index a28720bdb..60b678080 100644
--- a/src/dev/arm/RealView.py
+++ b/src/dev/arm/RealView.py
@@ -598,10 +598,8 @@ class RealView(Platform):
node.append(FdtPropertyWords("interrupt-parent",
state.phandle(self.gic)))
- for device in [getattr(self, c) for c in self._children]:
- if issubclass(type(device), SimObject):
- subnode = device.generateDeviceTree(state)
- node.append(subnode)
+ for subnode in self.recurseDeviceTree(state):
+ node.append(subnode)
yield node