From patchwork Tue Feb 7 10:07:42 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: 651259 Delivered-To: patch@linaro.org Received: by 2002:a17:522:d8c:b0:4be:c3dc:14d8 with SMTP id d12csp2779743pva; Tue, 7 Feb 2023 02:10:48 -0800 (PST) X-Google-Smtp-Source: AK7set97mqiuuPa6654of/NP8/ZTU5z/oTNLtxRl2iHZDkB6cC5LhhmPgMmDb1W/16N4Az4xXT/d X-Received: by 2002:ac8:5856:0:b0:3b9:b297:5ec5 with SMTP id h22-20020ac85856000000b003b9b2975ec5mr4560257qth.13.1675764648607; Tue, 07 Feb 2023 02:10:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675764648; cv=none; d=google.com; s=arc-20160816; b=kUR0CAgfDYKehnT5n1rQ32pCoE+QbEBUUOxS3Dvvu3KyTyrtrclJVbybHMDwVtuXZi KzHMSeDAysTU2BMX8zSSiAtyANgmt6lG6YsWaXmxSbCdb3CgdL9rFXTOPeL745fe4ISM 2HguCfibD+Aw9WPCPQdVmlfblmPbtZpxZA9bitUqNY3a67GO0oXdLp9vDzKaoVuj3ACv Aca9hQcB43O+WTBNrAy0VNcSljCpcuyn9Yz62x8L7XcPgCvxAQj/ytPH8/rbIMwE0+5Z jNBHsWnZlgN5W/2lVsw++gzxu6ZmX9MmcPa5gm4ok4iX6C2gz63EjKwyFulXpw4zsH67 0YqQ== 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=+e/febQ2qRKJMoMl3CWoUaU0wqC7VTWD48Z13Fs/5x4=; b=aYOwJ0vLgy4th9OPkJPF84RHVMBva4ydpOfYqZa7+EvCfSHLJLiFYtQZDtkaedZdRh 0LxLes+KZ47y2k3/FDY8b16jgJ6R+WY3zptg3u/oXTcXcA1iWAh9d5tTBHXZBd5atCgW Z0fErWRaGo+2puKYiA8Cok2jyiaWZG5t02OtZY0QLzTdWiBB+GYpZvcxFmaY79ceBGL2 ykidtKDPMdHKWoC3V1SkU3FVcIrNurtV+2wnoHnUcPTdIBmLdVDNfdExMtnGTq9tE7St g43+CzcJKqLn9er4kaiOmjJAGIKKSOeq5LkWSk4QWUqElLB3twvn7CovM1mcnQNBd7DP 4cLg== 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 f14-20020a05620a408e00b00720d9e83167si13228389qko.283.2023.02.07.02.10.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Feb 2023 02:10:48 -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 1pPKuM-00012P-FJ; Tue, 07 Feb 2023 05:09:02 -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 1pPKuH-0000qI-3s; Tue, 07 Feb 2023 05:08:57 -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 1pPKuF-0002UP-2q; Tue, 07 Feb 2023 05:08:56 -0500 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4P9zP16mTpz4wgv; Tue, 7 Feb 2023 21:08:53 +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 4P9zNz6dZpz4xGR; Tue, 7 Feb 2023 21:08:51 +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: [PULL 23/25] hw/arm/aspeed_ast10x0: Add TODO comment to use Cortex-M4F Date: Tue, 7 Feb 2023 11:07:42 +0100 Message-Id: <20230207100744.698694-24-clg@kaod.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230207100744.698694-1-clg@kaod.org> References: <20230207100744.698694-1-clg@kaod.org> MIME-Version: 1.0 Received-SPF: pass client-ip=150.107.74.76; envelope-from=SRS0=a43c=6D=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 */