dev-arm: fix --generate-dtb for ARM
authorCiro Santilli <ciro.santilli@arm.com>
Thu, 24 Jan 2019 09:04:34 +0000 (09:04 +0000)
committerCiro Santilli <ciro.santilli@arm.com>
Thu, 24 Jan 2019 14:12:35 +0000 (14:12 +0000)
Was failing with:

NameError: global name 'FdtNode' is not defined

The problem was introduced at: 75831ce5b7880b67c1aa2e0871ce16d5c01cadc7

Change-Id: I7e2ce0e5311e7814229945b9f4e7318a8652dc1f
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/15875
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>

src/dev/arm/Gic.py

index 947036a80b87d166f6eadb7db80b435d4ca2bdc5..0e0aa89fe35b17939273b441425975cfcbc724b0 100644 (file)
@@ -37,6 +37,7 @@
 
 from m5.params import *
 from m5.proxy import *
+from m5.util.fdthelper import *
 from m5.SimObject import SimObject
 
 from Device import PioDevice