diff options
Diffstat (limited to 'src/dev/Uart.py')
-rw-r--r-- | src/dev/Uart.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dev/Uart.py b/src/dev/Uart.py index c3bc9dd0f..c3bfd1bc2 100644 --- a/src/dev/Uart.py +++ b/src/dev/Uart.py @@ -29,13 +29,14 @@ from m5.params import * from m5.proxy import * from Device import BasicPioDevice +from Serial import SerialDevice class Uart(BasicPioDevice): type = 'Uart' abstract = True cxx_header = "dev/uart.hh" platform = Param.Platform(Parent.any, "Platform this device is part of.") - terminal = Param.Terminal(Parent.any, "The terminal") + device = Param.SerialDevice(Parent.any, "The terminal") class Uart8250(Uart): type = 'Uart8250' |