From patchwork Thu Jan 19 12:34:48 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: 644070 Delivered-To: patch@linaro.org Received: by 2002:a17:522:b9de:b0:4b9:b062:db3b with SMTP id fj30csp184437pvb; Thu, 19 Jan 2023 04:37:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXu1y33rYuhzNGvTWxwDAfVD1BmyjoU2dZiMHeovCi2Cv7N1CinKJO/RIwDiKhzQHaTs/M3E X-Received: by 2002:a67:dc97:0:b0:3b0:cf9c:caa with SMTP id g23-20020a67dc97000000b003b0cf9c0caamr6519912vsk.35.1674131858877; Thu, 19 Jan 2023 04:37:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674131858; cv=none; d=google.com; s=arc-20160816; b=me35Hr6ucN/LBEhQ+r7MUWD6zimrwOqLFcgyNVttKd13LtxrCmOevCA0XwasOAH1eR 9CVETAnV2uLkwELQxa3OC9Vkek8bhprJrhDwYF/5FYnT6tznM0gYiYyVrOjJeD7KOhg2 bvKooO7VHMWKb98xHN2nZDjbjMn84ISSKWkj4H4Z3zFPr8ey+L5gL1D0vBG6IhGVleb0 itjvQZo/30QtierVjrNCnYOb+PnvEMm9WdaDehBqOpBvfqZbBjMgo0ZiijpZl5YGxpGt 4n+xap558wM6MTk3LpqBwmL0y5zssPqab+fFn5AUE7luMJ5jXGZR1yO09l9Zifup2Qe2 F4Vw== 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=/lTuiMIkRXJU1I0qcygaiT77weNkwoeEYjy7oIGWPVE=; b=o7faPxSywgDtA62qJhVaBj250vjCDyNjkIMly5U8CiyE8Ic5trEwTKXYYq4VOyyUYI OlRJx7ynYTYSP9cLxWhrrAxcwjOYC6wnrVKz+zgp/kAvOWNDNfnawv/liQEl6Ev/kbbq KVMbZnUqZRAALPOuChZRBPAai7ZrYza59rjd45AlZHNxdn6a8iXhPFJmw6laYMuA1iLw XgfmL9w3eCT+WSbkG+7VbA4/5xc+d1myYyJuSG5BgIG5OCjCxIQg3k8YHxdZtsY2XFin LATsqXdVVgfeUbaQdgDl8kx+0MNCk2whlUzscKdln37t0FYjGfAwort7vJ8BfIu+gXXo lMiQ== 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 o18-20020a05620a2a1200b006fcc8de31a7si24849995qkp.396.2023.01.19.04.37.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Jan 2023 04:37:38 -0800 (PST) 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 1pIU9v-00005v-Ge; Thu, 19 Jan 2023 07:36:47 -0500 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 1pIU9M-0007a4-D2; Thu, 19 Jan 2023 07:36:12 -0500 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 1pIU9K-0007h9-R5; Thu, 19 Jan 2023 07:36:12 -0500 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4NyMYh2NF4z4xN4; Thu, 19 Jan 2023 23:36:08 +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 4NyMYf1wrJz4xN1; Thu, 19 Jan 2023 23:36:06 +1100 (AEDT) From: =?utf-8?q?C=C3=A9dric_Le_Goater?= To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: Peter Maydell , =?utf-8?q?Philippe_Mathieu-Dau?= =?utf-8?q?d=C3=A9?= , Peter Delevoryas , =?utf-8?q?C=C3=A9dric_Le_Goater?= Subject: [PATCH 24/25] hw/arm/aspeed_ast10x0: Add TODO comment to use Cortex-M4F Date: Thu, 19 Jan 2023 13:34:48 +0100 Message-Id: <20230119123449.531826-25-clg@kaod.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230119123449.531826-1-clg@kaod.org> References: <20230119123449.531826-1-clg@kaod.org> MIME-Version: 1.0 Received-SPF: pass client-ip=150.107.74.76; envelope-from=SRS0=w1SB=5Q=kaod.org=clg@ozlabs.org; helo=gandalf.ozlabs.org X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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é This SoC uses a Cortex-M4F. QEMU only implements a M4, which is good enough. Add a TODO note in case the M4F is added. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Delevoryas Reviewed-by: Cédric Le Goater Signed-off-by: Cédric Le Goater --- hw/arm/aspeed_ast10x0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/aspeed_ast10x0.c b/hw/arm/aspeed_ast10x0.c index 5c794c2420..649b3b13c1 100644 --- a/hw/arm/aspeed_ast10x0.c +++ b/hw/arm/aspeed_ast10x0.c @@ -420,7 +420,7 @@ static void aspeed_soc_ast1030_class_init(ObjectClass *klass, void *data) dc->realize = aspeed_soc_ast1030_realize; sc->name = "ast1030-a1"; - sc->cpu_type = ARM_CPU_TYPE_NAME("cortex-m4"); + sc->cpu_type = ARM_CPU_TYPE_NAME("cortex-m4"); /* TODO cortex-m4f */ sc->silicon_rev = AST1030_A1_SILICON_REV; sc->sram_size = 0xc0000; sc->secsram_size = 0x40000; /* 256 * KiB */