summaryrefslogtreecommitdiff
path: root/src/python/m5/objects/Uart.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/m5/objects/Uart.py')
-rw-r--r--src/python/m5/objects/Uart.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/python/m5/objects/Uart.py b/src/python/m5/objects/Uart.py
index 54754aeb9..8e1fd1a37 100644
--- a/src/python/m5/objects/Uart.py
+++ b/src/python/m5/objects/Uart.py
@@ -1,4 +1,5 @@
-from m5 import *
+from m5 import build_env
+from m5.config import *
from Device import BasicPioDevice
class Uart(BasicPioDevice):