From patchwork Wed Oct 25 08:59:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?C=C3=A9dric_Le_Goater?= X-Patchwork-Id: 737860 Delivered-To: patch@linaro.org Received: by 2002:adf:f842:0:b0:32d:baff:b0ca with SMTP id d2csp178369wrq; Wed, 25 Oct 2023 02:01:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGU2LiTjTWsfGQrzw+GdmrCoq3eety2uZgmxOkrljg6+OodO0udCHlQI9QO6/40U5unlZg0 X-Received: by 2002:ad4:5f0b:0:b0:66d:3c5:1cdc with SMTP id fo11-20020ad45f0b000000b0066d03c51cdcmr20548387qvb.60.1698224475457; Wed, 25 Oct 2023 02:01:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698224475; cv=none; d=google.com; s=arc-20160816; b=UDVoJ1eFk9YWMy62ccJqI76QW78LVmtkWb1yYBIvQ/E8/hJq61c+VyWmk+jzjLxDbU o2voYvFYE6cB+PqEGS/W4Bqj8X24zqN1KnSlBjPsjMlhJfOZGl9uswNjm83siINtCpAe /AvImzeSpcnuhp242HBVGI0jZgpoYV5k0N2inRgo+ioG8Fws1zNgdfWBvr5V1bFAzWsz qDMGE31y46spj4mzTrpN+QsyCyEoExiVEYK5hgafqGTaUkk6vwzPdFH99lm4ItVuVZMR Py6KvBR4AenmwnNgBZTpXTSAgjK2D0oemYRdtQyH1OEmrxF9u75UDRSXi1CC379qAF0+ Dd1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=6ee1tjgAO5bZL8ubjUIW3dwEEQw8l8xxc3gDyUJEZoQ=; fh=2AKgK1B3EYiX6882ovZW+CwIStVbar5zReCRX1lYnfY=; b=c6HasAwr3Q+sxrIzcfbDm0GfAe9vDsLBBWdcrgFUpzCrWBxJfIjUDUWfl9FEdUaGsv cbUIKuidp/qCZ5E4Gx5Fw4OFSaKNJ7WZjx21a6Qg9oRTXgn6uW5MqP0kLArWIrWSR2Wp 1XAbWUL3b2yKXWQykyfZ6osVa+AfB9gzYed/VmvQrwLnBmRKAdznX0OEKMqUvyLQYSN5 U1FJpUtwg9crhqKcXhFB+RjJuqZUTf6X8N1Sce3MySmbYf1PvcpbK/VuciMuY0FETQbf PUTP8Nk13w9NgWjWfzmmua8XqOIJa1ATi1o9YBQlONHm9R+FAigFHc1zQrMNm4tWobS+ 6T4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s12-20020ad4438c000000b0065b1c7b4740si8256584qvr.83.2023.10.25.02.01.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Oct 2023 02:01:15 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvZk0-00088m-AP; Wed, 25 Oct 2023 04:59:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvZjy-00087Z-43; Wed, 25 Oct 2023 04:59:50 -0400 Received: from gandalf.ozlabs.org ([150.107.74.76]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvZjk-0004R1-Iz; Wed, 25 Oct 2023 04:59:49 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4SFjY20g4zz4wp0; Wed, 25 Oct 2023 19:59:34 +1100 (AEDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4SFjY03hVhz4wnw; Wed, 25 Oct 2023 19:59:32 +1100 (AEDT) From: =?utf-8?q?C=C3=A9dric_Le_Goater?= To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?C?= =?utf-8?q?=C3=A9dric_Le_Goater?= Subject: [PULL 03/12] hw/arm/aspeed: Rename aspeed_soc_init() as AST2400/2500 specific Date: Wed, 25 Oct 2023 10:59:12 +0200 Message-ID: <20231025085921.733686-4-clg@kaod.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231025085921.733686-1-clg@kaod.org> References: <20231025085921.733686-1-clg@kaod.org> MIME-Version: 1.0 Received-SPF: pass client-ip=150.107.74.76; envelope-from=SRS0=4l40=GH=kaod.org=clg@ozlabs.org; helo=gandalf.ozlabs.org X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, T_SPF_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Cédric Le Goater Signed-off-by: Cédric Le Goater --- hw/arm/aspeed_soc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/arm/aspeed_soc.c b/hw/arm/aspeed_soc.c index f6c2ead4ace0..bb377e9e6e32 100644 --- a/hw/arm/aspeed_soc.c +++ b/hw/arm/aspeed_soc.c @@ -140,7 +140,7 @@ static qemu_irq aspeed_soc_ast2400_get_irq(AspeedSoCState *s, int dev) return qdev_get_gpio_in(DEVICE(&s->vic), sc->irqmap[dev]); } -static void aspeed_soc_init(Object *obj) +static void aspeed_ast2400_soc_init(Object *obj) { AspeedSoCState *s = ASPEED_SOC(obj); AspeedSoCClass *sc = ASPEED_SOC_GET_CLASS(s); @@ -546,7 +546,7 @@ static void aspeed_soc_ast2400_class_init(ObjectClass *oc, void *data) static const TypeInfo aspeed_soc_ast2400_type_info = { .name = "ast2400-a1", .parent = TYPE_ASPEED_SOC, - .instance_init = aspeed_soc_init, + .instance_init = aspeed_ast2400_soc_init, .instance_size = sizeof(AspeedSoCState), .class_init = aspeed_soc_ast2400_class_init, }; @@ -573,7 +573,7 @@ static void aspeed_soc_ast2500_class_init(ObjectClass *oc, void *data) static const TypeInfo aspeed_soc_ast2500_type_info = { .name = "ast2500-a1", .parent = TYPE_ASPEED_SOC, - .instance_init = aspeed_soc_init, + .instance_init = aspeed_ast2400_soc_init, .instance_size = sizeof(AspeedSoCState), .class_init = aspeed_soc_ast2500_class_init, };