summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdrian Herrera <adrian.herrera@arm.com>2019-11-28 17:04:34 +0000
committerGiacomo Travaglini <giacomo.travaglini@arm.com>2019-12-18 09:15:14 +0000
commit1a2dcccaee4c76a73378b4fd5ac910a818fff7af (patch)
tree94b3fa42310065c3620b4c34bb64a52b32c28b31 /src
parentec9ce6239d0c3a4e6141961bfb9caae50b9caac9 (diff)
downloadgem5-1a2dcccaee4c76a73378b4fd5ac910a818fff7af.tar.xz
python: fix "fatal" usage in fdthelper
"fatal" was not correctly imported in the fdthelper module, which caused a crash when reporting errors. Change-Id: I7ee9dcde1f0288e11e56dba67ead4aa2d6d67e02 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23753 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/python/m5/util/fdthelper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/m5/util/fdthelper.py b/src/python/m5/util/fdthelper.py
index 27d6f844c..7ad3aba13 100644
--- a/src/python/m5/util/fdthelper.py
+++ b/src/python/m5/util/fdthelper.py
@@ -43,6 +43,7 @@ from m5.ext.pyfdt import pyfdt
import re
import os
from m5.SimObject import SimObject
+from m5.util import fatal
class FdtProperty(pyfdt.FdtProperty):
"""Create a property without values."""