From nobody Sun Nov 16 05:40:23 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1598532004; cv=none; d=zohomail.com; s=zohoarc; b=AUN7Ty8kpb8B8FsYex+5EcAQCd4/ALyITD5wFlFDk/Eb6CZ6Bix5xxAKKLcG5fJOvOGIdVm5BXTMDHrobuv4PsHTkCTfrWIy+Yp4qmjHRa9tPixO18Bu1wSDjDBb7Jx2ubl4zaIQiYQBaI9RE2+/Gd/tCKsWywlMFO3gDrzh3II= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1598532004; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=GzCjR9npuMKROF8wYgtU/iKtyIlfVnMqaH5/KHHNbdQ=; b=aIdduZb3P//jMdQYIJSmikX88spS6ui1zQgJAG/TwyzpjYWln3x3Ri3ALL6QqZtK7CEUA8f/QBD9yuYKE71XsN/ojIoDsBXGKK4G8typJOX+OqzAUGu2WbW8ZxzXfF9CFSkpv6PFbHdl8xPX61cXm2GwLj8n1Z6QAT5cSP7xhsI= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1598532004021760.8423571330328; Thu, 27 Aug 2020 05:40:04 -0700 (PDT) Received: from localhost ([::1]:38804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBHCE-0001Bd-Lr for importer@patchew.org; Thu, 27 Aug 2020 08:40:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBHBQ-0007xM-Q9 for qemu-devel@nongnu.org; Thu, 27 Aug 2020 08:39:12 -0400 Received: from mail03.asahi-net.or.jp ([202.224.55.15]:39213) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBHBN-0005uW-Ut for qemu-devel@nongnu.org; Thu, 27 Aug 2020 08:39:12 -0400 Received: from sakura.ysato.name (ik1-413-38519.vs.sakura.ne.jp [153.127.30.23]) (Authenticated sender: PQ4Y-STU) by mail03.asahi-net.or.jp (Postfix) with ESMTPA id C66D52703C; Thu, 27 Aug 2020 21:39:06 +0900 (JST) Received: from yo-satoh-debian.localdomain (ZM005235.ppp.dion.ne.jp [222.8.5.235]) by sakura.ysato.name (Postfix) with ESMTPSA id 7DB941C0792; Thu, 27 Aug 2020 21:39:06 +0900 (JST) From: Yoshinori Sato To: qemu-devel@nongnu.org Subject: [PATCH 07/20] hw/rx: RX62N convert new 8bit timer. Date: Thu, 27 Aug 2020 21:38:46 +0900 Message-Id: <20200827123859.81793-8-ysato@users.sourceforge.jp> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200827123859.81793-1-ysato@users.sourceforge.jp> References: <20200827123859.81793-1-ysato@users.sourceforge.jp> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: softfail client-ip=202.224.55.15; envelope-from=ysato@users.sourceforge.jp; helo=mail03.asahi-net.or.jp X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/27 08:39:06 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yoshinori Sato Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" Signed-off-by: Yoshinori Sato --- 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 @@ =20 #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 { =20 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]; =20 object_initialize_child(OBJECT(s), "tmr[*]", - &s->tmr[unit], TYPE_RENESAS_TMR); + &s->tmr[unit], TYPE_RENESAS_TMR8); tmr =3D SYS_BUS_DEVICE(&s->tmr[unit]); =20 irqbase =3D 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 =20 --=20 2.20.1