From patchwork Thu Dec 29 15:23:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 637562 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp2984610pvb; Thu, 29 Dec 2022 07:26:01 -0800 (PST) X-Google-Smtp-Source: AMrXdXvTi9dzFWCeilnZn94iP1n/1bctA5zKRz0172tWrKM6LVLsUHKfoTzCtWJxFwzvFeCB+ET1 X-Received: by 2002:a05:6214:438a:b0:4e2:14e0:d7eb with SMTP id oh10-20020a056214438a00b004e214e0d7ebmr41372800qvb.11.1672327561475; Thu, 29 Dec 2022 07:26:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672327561; cv=none; d=google.com; s=arc-20160816; b=AlpV9gEaxr4bdLzn1YZotX13MHQvsMKtogFDEl6A23KJAPQrkY7AQRFrbRYhTuGitn UUwhxXLItEtdmeB4YvvrR6xNatk78kssr05cTzjCgtsnbTwBYLbSJr+SDRN1txucuqkb 0/Z/v50gZ18rwue9Mlp3C6ejMD/9cpnSaiWOilMZAKm1kIFi36xTtRFk/5HiQ/kHWQtc IbXxbRaj20OrDlHwIUiynube2sdLK69OJxoGKWeI1YNNZpW3vcqZsW3hxRAq+Vxx445S 3QKcM4q6RxXk9mt8QHRdgfIWZYZN5V2WrffQJylvTbUtjD/EvnuuASHZrZEY3klQc6B2 ewVQ== 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:dkim-signature; bh=y0IR45+1k3KGq6akeAAYqfenh8SpGHNSxj9mXYNisiA=; b=j0kP+XHFHcUfIrwq59BOtDcgAGNgW6lzFxJ5nTKpJpGMdTYcJ61p/lE6fO6Bxp4SO5 w0rrYh0fetbIm+UlYCInazijLLc/X+fmuHvIv4blrHZcebqsqw7kUZI9C7dCpLxNm07S eRQpuWfO8sye3a0wog7tvA+MlcTVJ/XJoFRl3XekG/lKURcdmi6Kef52ZNvpLQIAAYNQ s+WdQ/bg7rGEUs/zuRvZRZg2OVdOugdpzow/JdtVpkjvhXSk9dj1IMIFRl5k/gXTUH24 4Heu7afqw1NRutgN+wKsT3XiuQ7kno4IFWRpTKbv8Aexo+lCmrch3LG9smaC4HesuTP/ F2wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gY1UHiIO; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id iv15-20020ad45cef000000b0052fe5539dcasi7721968qvb.203.2022.12.29.07.26.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Dec 2022 07:26:01 -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; dkim=pass header.i=@linaro.org header.s=google header.b=gY1UHiIO; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAulW-0001TR-DU; Thu, 29 Dec 2022 10:24:18 -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 1pAulU-0001MS-Gy for qemu-devel@nongnu.org; Thu, 29 Dec 2022 10:24:16 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAulT-000800-3k for qemu-devel@nongnu.org; Thu, 29 Dec 2022 10:24:16 -0500 Received: by mail-wm1-x32c.google.com with SMTP id m26-20020a05600c3b1a00b003d9811fcaafso6844780wms.5 for ; Thu, 29 Dec 2022 07:24:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=y0IR45+1k3KGq6akeAAYqfenh8SpGHNSxj9mXYNisiA=; b=gY1UHiIOTezzuKxOHGwrjy4/sPHP5UwkD45Y4v8JkZnsbSOVLcv1UGS8hDsQtj/n9e 3rVJiWXabt3HjcdQlbA9kE0oJoJ9+r+nJHNNj7caQgNTk+XsTjwTTKQynoRWFSOKBd3d kJe/KQK0BLvMdkEpNnrC4y6Y9sHieuGz2lc26fUFjMwCbbYc1JQptfUA60hh7j5PqfFp /9CDMSyqUALg5FzopukQ462tiv69gvvCgkCTOJZupFwZZpgbjqAmEm/wOM/aOrxW8x16 yVsIvg+d0BD0vHKVOz1Frxwd9XvLixoWrMd2uBRzEPsiQ8YpGSpzVKYU3nhZSdv2DlVA bbqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=y0IR45+1k3KGq6akeAAYqfenh8SpGHNSxj9mXYNisiA=; b=Fa2z6XC45CVaMGsoODZ3JEaF1Sx81F7D7n03IWrSyu2yls8df4aO5BRNCWqWLJVCf0 p5PPFCecAMrN4KSoOLiFToR/QgijLu/A2fR5d+hYbH1Mm1SOEezkQBLCmUWaZMqCOMHB NwfZH9SY4WnyCe7DrDOeaAkJoASmjnPd3bY+6+MeunZQCpS9NOdV6xD5vgmgUsROdadX cBWmraN3qtOTKU9GFULz9DRARDhECi2qLAZ4nLVkCsm4k0QSxoc0cPzSR1welYKT+Mng VH51fHD7qxIL6anq90lhYowqIKHiylyT/LVYpIvdJ9xfjvXlRaiqlNYXvK/bNPWEZwHS m33w== X-Gm-Message-State: AFqh2kppmdndD7oZrqkelNbg7qm6ERerdQJZ7BKKCEMpLOeRCD23BUiK WwGSyJYNfjVO8/9BV2V1n1x4W3VHKZqVLlYD X-Received: by 2002:a05:600c:538b:b0:3d9:72c1:62b7 with SMTP id hg11-20020a05600c538b00b003d972c162b7mr13091743wmb.7.1672327453689; Thu, 29 Dec 2022 07:24:13 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id v13-20020a05600c444d00b003d998412db6sm4185679wmn.28.2022.12.29.07.24.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 29 Dec 2022 07:24:13 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Steven Lee , Peter Delevoryas , Peter Delevoryas , qemu-arm@nongnu.org, Cleber Rosa , Peter Maydell , Beraldo Leal , Wainer dos Santos Moschetta , Troy Lee , Andrew Jeffery , Joel Stanley , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Peter Delevoryas , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Jamin Lin Subject: [PATCH 8/9] hw/arm/aspeed_ast10x0: Add TODO comment to use Cortex-M4F Date: Thu, 29 Dec 2022 16:23:24 +0100 Message-Id: <20221229152325.32041-9-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221229152325.32041-1-philmd@linaro.org> References: <20221229152325.32041-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=philmd@linaro.org; helo=mail-wm1-x32c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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 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 --- 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 02636705b6..788827ca9d 100644 --- a/hw/arm/aspeed_ast10x0.c +++ b/hw/arm/aspeed_ast10x0.c @@ -421,7 +421,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 = 768 * KiB; sc->secsram_size = 9 * KiB;