Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id E84E4C35FF1 for ; Tue, 11 Mar 2025 01:39:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0DA8C81703; Tue, 11 Mar 2025 02:39:39 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=per1cycle.org 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=per1cycle.org header.i=@per1cycle.org header.b="UxrBO+gJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AECD0801FB; Tue, 11 Mar 2025 02:39:33 +0100 (CET) Received: from mail.per1cycle.org (mail.per1cycle.org [188.245.231.141]) (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 2654E8168B for ; Tue, 11 Mar 2025 02:39:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=per1cycle.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=me@per1cycle.org Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 2E24D4033E; Tue, 11 Mar 2025 01:39:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=per1cycle.org; s=dkim; t=1741657153; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hrQOFGlFn07pPz014SVQmtCkfvsAk1kL8BIjIC1Viy4=; b=UxrBO+gJxsjWKju0eWqKTmAwBY9DvGeBAVK79Nv7EEdeVhQpN3ZlCDivycYMQbbMqxwK/G tcETf92Fq8rJ58nY6UE/AtuYJ/6ETAUXWizbJtN1/LUQepA87MnvqXqU5tW91PqRRY77MF Pi/itacY1HIe8Vp71Zd8czd+GOoM5YanLsWdt5OtUz2RyjzQogxV0sbfDZi9gmI3foIPyy 4VoQU7DRgxStcAManNBE60nnIAyZjF2Isn2WRCN15bU8da6kMlALFRiZWqEM3dsu8tHtXi Ci1kbwR7tNX+n7UjZSuUKq0jbv/ONtzreXqB2Jt5GRJ2P2jZYDluqxXy/jmSiw== From: Huan Zhou Date: Tue, 11 Mar 2025 09:38:51 +0800 Subject: [PATCH v2 4/4] Add reset config options for k1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20250311-reset-k1-v2-4-8a838752c265@per1cycle.org> References: <20250311-reset-k1-v2-0-8a838752c265@per1cycle.org> In-Reply-To: <20250311-reset-k1-v2-0-8a838752c265@per1cycle.org> To: u-boot Cc: Rick Chen , Leo , Tom Rini , Yixun Lan , Huan Zhou X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1741657131; l=1059; i=me@per1cycle.org; s=20241231; h=from:subject:message-id; bh=QUZYp8MmiUQrgre5+TdfnfPcV5aqf5lnjGSQQlhsz7M=; b=k472brUcLvhap//TKftx9Rba4on6DRFtduIBABW57qVCKFlAnFKUlRDQOhF49xo2mqx5HuBYB uIDXglnfz9ZDMOrx9fmikJxMfW4630h7emjRgFp07/tnkUl5Xy75yBy X-Developer-Key: i=me@per1cycle.org; a=ed25519; pk=LfN2kXe1uCRoaEzAJ8quXuPIH4MiEnZHOCRZwGytJwE= X-Last-TLS-Session-Version: TLSv1.3 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Add RESET_SPACEMIT_K1 option in config Signed-off-by: Huan Zhou --- arch/riscv/cpu/k1/Kconfig | 1 + configs/bananapi-f3_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/riscv/cpu/k1/Kconfig b/arch/riscv/cpu/k1/Kconfig index d9cd8dce96426bb4cbe9ff38385a4c66116fe341..14201df80f2c0bf304225ef6d8dc8e72ff508815 100644 --- a/arch/riscv/cpu/k1/Kconfig +++ b/arch/riscv/cpu/k1/Kconfig @@ -13,6 +13,7 @@ config SPACEMIT_K1 imply RISCV_ACLINT if RISCV_MMODE imply SPL_RISCV_ACLINT if SPL_RISCV_MMODE imply CMD_CPU + imply DM_RESET imply SPL_CPU imply SPL_OPENSBI imply SPL_LOAD_FIT diff --git a/configs/bananapi-f3_defconfig b/configs/bananapi-f3_defconfig index 0f12db3db848badda1fc7192aeb0190ac22a269d..7483f128baea9d8971efc9ed166aa042ec32d908 100644 --- a/configs/bananapi-f3_defconfig +++ b/configs/bananapi-f3_defconfig @@ -18,3 +18,4 @@ CONFIG_HUSH_PARSER=y CONFIG_ENV_OVERWRITE=y CONFIG_SYS_NS16550=y CONFIG_SYS_NS16550_MEM32=y +CONFIG_RESET_SPACEMIT_K1=y -- 2.39.5