[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 07/20] hw/rx: RX62N convert new 8bit timer.
From: |
Yoshinori Sato |
Subject: |
[PATCH 07/20] hw/rx: RX62N convert new 8bit timer. |
Date: |
Thu, 27 Aug 2020 21:38:46 +0900 |
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
---
include/hw/rx/rx62n.h | 4 ++--
hw/rx/rx62n.c | 2 +-
hw/rx/Kconfig | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/hw/rx/rx62n.h b/include/hw/rx/rx62n.h
index e0ca1cfc33..75945bae50 100644
--- a/include/hw/rx/rx62n.h
+++ b/include/hw/rx/rx62n.h
@@ -26,7 +26,7 @@
#include "target/rx/cpu.h"
#include "hw/intc/rx_icu.h"
-#include "hw/timer/renesas_tmr.h"
+#include "hw/timer/renesas_tmr8.h"
#include "hw/timer/renesas_cmt.h"
#include "hw/char/renesas_sci.h"
#include "hw/rx/rx62n-cpg.h"
@@ -68,7 +68,7 @@ typedef struct RX62NState {
RXCPU cpu;
RXICUState icu;
- RTMRState tmr[RX62N_NR_TMR];
+ RenesasTMR8State tmr[RX62N_NR_TMR];
RCMTState cmt[RX62N_NR_CMT];
RSCIState sci[RX62N_NR_SCI];
RX62NCPGState cpg;
diff --git a/hw/rx/rx62n.c b/hw/rx/rx62n.c
index ec63fa5db1..0223396110 100644
--- a/hw/rx/rx62n.c
+++ b/hw/rx/rx62n.c
@@ -149,7 +149,7 @@ static void register_tmr(RX62NState *s, int unit)
char ckname[16];
object_initialize_child(OBJECT(s), "tmr[*]",
- &s->tmr[unit], TYPE_RENESAS_TMR);
+ &s->tmr[unit], TYPE_RENESAS_TMR8);
tmr = SYS_BUS_DEVICE(&s->tmr[unit]);
irqbase = RX62N_TMR_IRQ + TMR_NR_IRQ * unit;
diff --git a/hw/rx/Kconfig b/hw/rx/Kconfig
index a63e4a5520..0406f27bee 100644
--- a/hw/rx/Kconfig
+++ b/hw/rx/Kconfig
@@ -1,7 +1,7 @@
config RX62N_MCU
bool
select RX_ICU
- select RENESAS_TMR
+ select RENESAS_TMR8
select RENESAS_CMT
select RENESAS_SCI
--
2.20.1
- [PATCH 00/20] RX target update, Yoshinori Sato, 2020/08/27
- [PATCH 03/20] hw/rx: Firmware and kernel loader., Yoshinori Sato, 2020/08/27
- [PATCH 02/20] include/elf.h: Add EM_RX., Yoshinori Sato, 2020/08/27
- [PATCH 07/20] hw/rx: RX62N convert new 8bit timer.,
Yoshinori Sato <=
- [PATCH 09/20] hw/timer: Remove renesas_cmt., Yoshinori Sato, 2020/08/27
- [PATCH 01/20] loader.c: Add support Motrola S-record format., Yoshinori Sato, 2020/08/27
- [PATCH 10/20] hw/rx: Convert to renesas_timer, Yoshinori Sato, 2020/08/27
- [PATCH 17/20] hw/rx/rx62n: Add Ethernet support., Yoshinori Sato, 2020/08/27
- [PATCH 08/20] hw/timer: Renesas TMU/CMT module., Yoshinori Sato, 2020/08/27
- [PATCH 04/20] hw/rx: New firmware loader., Yoshinori Sato, 2020/08/27
- [PATCH 05/20] hw/rx: Add RX62N Clock generator, Yoshinori Sato, 2020/08/27
- [PATCH 06/20] hw/timer: Renesas 8bit timer emulation., Yoshinori Sato, 2020/08/27
- [PATCH 19/20] hw/rx: Add CQ-FRK-RX62N target, Yoshinori Sato, 2020/08/27
- [PATCH 14/20] hw/rx/rx62n: RX62N Add MTU module, Yoshinori Sato, 2020/08/27