From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4755C433F5 for ; Fri, 10 Sep 2021 14:16:12 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0EA7861026 for ; Fri, 10 Sep 2021 14:16:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0EA7861026 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C6D488367E; Fri, 10 Sep 2021 16:15:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.b="qVjR/zqd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4AD0B83677; Fri, 10 Sep 2021 16:15:50 +0200 (CEST) Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0CD6B83667 for ; Fri, 10 Sep 2021 16:15:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=heinrich.schuchardt@canonical.com Received: from workstation5.fritz.box (ip-88-152-144-157.hsi03.unitymediagroup.de [88.152.144.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 2266A41316; Fri, 10 Sep 2021 14:15:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1631283340; bh=sWx0rz8P3JTC13RllZL7TQFhCSK57nToou2G+QH9N14=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=qVjR/zqd67EoES8MNh0Pwejs7/CQxPoi4itIaOCLeS7LjQruHY0SVnvYzDOM9EyIV XVdYL8gJBzpV7mDa/QDqUmqJ/l+7cSkJyRRVZDe6h9kPZLKCGN8Kd4wdVvUx+AvHil CZ80/x9RDGnCr4xVhG2/OpwZ4nWtRxW8zC3TODsm6OaZC10ao8DWl6TbLkJ8CJwaCT 9tsCQ/sYFWPmHlZOvteTzSIdOFbMK4q9PXF/lsaXx58I8BN5ZtAt2THlIXb6xD1DFQ SlteEt/tRLhn4LMe80MkA4OQkeD5iOdc0Qfe3DCuQyDZeOaSlDIy2kcjeu5UlxhaFT kme/lijzyZB/w== From: Heinrich Schuchardt To: Rick Chen , Leo Cc: Bin Meng , Simon Glass , Sean Anderson , Green Wan , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Chee Hong Ang , Ley Foon Tan , Priyanka Jain , Siew Chin Lim , Sebastian Reichel , u-boot@lists.denx.de, Heinrich Schuchardt Subject: [PATCH v5 4/4] configs: enable SYSRESET_SBI on qemu-riscvXX_smode_defconfig Date: Fri, 10 Sep 2021 16:15:29 +0200 Message-Id: <20210910141529.69841-5-heinrich.schuchardt@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210910141529.69841-1-heinrich.schuchardt@canonical.com> References: <20210910141529.69841-1-heinrich.schuchardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean There should be a platform compiled with the new driver. If you want to test the SBI sysreset driver, disable CONFIG_SYSRESET_SYSCON. In OpenSBI sifive_test_system_reset() will be called. Signed-off-by: Heinrich Schuchardt --- v5: new patch --- configs/qemu-riscv32_smode_defconfig | 1 + configs/qemu-riscv64_smode_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/qemu-riscv32_smode_defconfig b/configs/qemu-riscv32_smode_defconfig index 05eda43961..5a4ef47a22 100644 --- a/configs/qemu-riscv32_smode_defconfig +++ b/configs/qemu-riscv32_smode_defconfig @@ -13,3 +13,4 @@ CONFIG_CMD_NVEDIT_EFI=y CONFIG_OF_PRIOR_STAGE=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_DM_MTD=y +CONFIG_SYSRESET_SBI=y diff --git a/configs/qemu-riscv64_smode_defconfig b/configs/qemu-riscv64_smode_defconfig index 4a6416e254..8fb80d7008 100644 --- a/configs/qemu-riscv64_smode_defconfig +++ b/configs/qemu-riscv64_smode_defconfig @@ -16,3 +16,4 @@ CONFIG_CMD_NVEDIT_EFI=y CONFIG_OF_PRIOR_STAGE=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_DM_MTD=y +CONFIG_SYSRESET_SBI=y -- 2.30.2