diff options
author | Johannes Schlatow <schlatow@ida.ing.tu-bs.de> | 2015-06-29 17:45:41 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-07-27 22:44:47 +0300 |
commit | 786f9ce20382704249883d7052f6869011d44281 (patch) | |
tree | 1d2cf27d44576aff3ec5798715b2909251283d6a /include | |
parent | 7e71e111e0544ec35af40c3dc29f21697c8f17bf (diff) | |
download | qemu-786f9ce20382704249883d7052f6869011d44281.zip qemu-786f9ce20382704249883d7052f6869011d44281.tar.gz qemu-786f9ce20382704249883d7052f6869011d44281.tar.bz2 |
Fix Cortex-A9 global timer
The auto increment bit of the timer control register was wrongly
defined.
See Cortex-A9 MPcore Technical Reference Manual, Section 4.4.2.
Signed-off-by: Johannes Schlatow <schlatow@ida.ing.tu-bs.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/timer/a9gtimer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/timer/a9gtimer.h b/include/hw/timer/a9gtimer.h index b88c02a..98d8e0a 100644 --- a/include/hw/timer/a9gtimer.h +++ b/include/hw/timer/a9gtimer.h @@ -37,7 +37,7 @@ #define R_CONTROL_TIMER_ENABLE (1 << 0) #define R_CONTROL_COMP_ENABLE (1 << 1) #define R_CONTROL_IRQ_ENABLE (1 << 2) -#define R_CONTROL_AUTO_INCREMENT (1 << 2) +#define R_CONTROL_AUTO_INCREMENT (1 << 3) #define R_CONTROL_PRESCALER_SHIFT 8 #define R_CONTROL_PRESCALER_LEN 8 #define R_CONTROL_PRESCALER_MASK (((1 << R_CONTROL_PRESCALER_LEN) - 1) << \ |