summaryrefslogtreecommitdiff
path: root/python/m5/objects/Uart.py
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-06-05 01:24:17 -0400
committerNathan Binkert <binkertn@umich.edu>2005-06-05 01:24:17 -0400
commit3e5e3e2d28a6a59df1300751f75f1de5b06bc3fe (patch)
tree7ad3b39022ecae18c2b13654f94dcd11a81d0816 /python/m5/objects/Uart.py
parent8f1348a21d8d4509716525048d3bd8922072592a (diff)
downloadgem5-3e5e3e2d28a6a59df1300751f75f1de5b06bc3fe.tar.xz
make all of the turbolaser stuff only compile if ALPHA_TLASER
is defined. build/SConstruct: Default ALPHA_TLASER to false dev/uart8250.cc: fix paths --HG-- extra : convert_revision : 3616b5b4b9060860a73568a4ed4f1e8eb991938f
Diffstat (limited to 'python/m5/objects/Uart.py')
-rw-r--r--python/m5/objects/Uart.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/m5/objects/Uart.py b/python/m5/objects/Uart.py
index 57b8b44af..6eda5cdb3 100644
--- a/python/m5/objects/Uart.py
+++ b/python/m5/objects/Uart.py
@@ -10,6 +10,7 @@ class Uart(PioDevice):
class Uart8250(Uart):
type = 'Uart8250'
-class Uart8530(Uart):
- type = 'Uart8530'
+if build_env['ALPHA_TLASER']:
+ class Uart8530(Uart):
+ type = 'Uart8530'