summaryrefslogtreecommitdiff
path: root/hw/arm
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-10-14 23:36:01 +0200
committerPeter Maydell <peter.maydell@linaro.org>2020-10-20 16:12:00 +0100
commit8ddd611a50481826a8e583b7ccdf6e1866e22c15 (patch)
tree54db4594497f3c2b65bb0451d8c1a3a12087ad5b /hw/arm
parent61db12d9f9eb36761edba4d9a414cd8dd34c512b (diff)
downloadqemu-8ddd611a50481826a8e583b7ccdf6e1866e22c15.zip
hw/arm/strongarm: Fix 'time to transmit a char' unit comment
The time to transmit a char is expressed in nanoseconds, not in ticks. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20201014213601.205222-1-f4bug@amsat.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm')
-rw-r--r--hw/arm/strongarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/strongarm.c b/hw/arm/strongarm.c
index d7133eea6f..ca7c385f31 100644
--- a/hw/arm/strongarm.c
+++ b/hw/arm/strongarm.c
@@ -935,7 +935,7 @@ struct StrongARMUARTState {
uint8_t rx_start;
uint8_t rx_len;
- uint64_t char_transmit_time; /* time to transmit a char in ticks*/
+ uint64_t char_transmit_time; /* time to transmit a char in nanoseconds */
bool wait_break_end;
QEMUTimer *rx_timeout_timer;
QEMUTimer *tx_timer;