diff options
author | Steven Lee | 2022-05-02 17:03:03 +0200 |
---|---|---|
committer | Cédric Le Goater | 2022-05-02 17:03:03 +0200 |
commit | c5b89a4f476fb77e5a302c18b76098190a3d549d (patch) | |
tree | e4e9e120fd3e615dd978690d4d7b1b19d766084f /include/hw/timer | |
parent | aspeed/wdt: Add AST1030 support (diff) | |
download | qemu-c5b89a4f476fb77e5a302c18b76098190a3d549d.tar.gz qemu-c5b89a4f476fb77e5a302c18b76098190a3d549d.tar.xz qemu-c5b89a4f476fb77e5a302c18b76098190a3d549d.zip |
aspeed/timer: Add AST1030 support
ast1030 tmc(timer controller) is identical to ast2600 tmc.
Signed-off-by: Troy Lee <troy_lee@aspeedtech.com>
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20220401083850.15266-6-jamin_lin@aspeedtech.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'include/hw/timer')
-rw-r--r-- | include/hw/timer/aspeed_timer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/timer/aspeed_timer.h b/include/hw/timer/aspeed_timer.h index d36034a10c..07dc6b6f2c 100644 --- a/include/hw/timer/aspeed_timer.h +++ b/include/hw/timer/aspeed_timer.h @@ -31,6 +31,7 @@ OBJECT_DECLARE_TYPE(AspeedTimerCtrlState, AspeedTimerClass, ASPEED_TIMER) #define TYPE_ASPEED_2400_TIMER TYPE_ASPEED_TIMER "-ast2400" #define TYPE_ASPEED_2500_TIMER TYPE_ASPEED_TIMER "-ast2500" #define TYPE_ASPEED_2600_TIMER TYPE_ASPEED_TIMER "-ast2600" +#define TYPE_ASPEED_1030_TIMER TYPE_ASPEED_TIMER "-ast1030" #define ASPEED_TIMER_NR_TIMERS 8 |