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 BBFB0C433EF for ; Wed, 24 Nov 2021 04:28:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B77C5836BD; Wed, 24 Nov 2021 05:28:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=skibo.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=skibo.net header.i=@skibo.net header.b="SnXhTRWv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A19868321B; Wed, 24 Nov 2021 05:28:00 +0100 (CET) Received: from dragonfly.birch.relay.mailchannels.net (dragonfly.birch.relay.mailchannels.net [23.83.209.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BA47882FAB for ; Wed, 24 Nov 2021 05:27:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=skibo.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=thomas-git@skibo.net X-Sender-Id: dreamhost|x-authsender|thomas-git@skibo.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id DA24D6C0744; Wed, 24 Nov 2021 04:27:51 +0000 (UTC) Received: from pdx1-sub0-mail-a224.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 6FB016C05F3; Wed, 24 Nov 2021 04:27:51 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|thomas-git@skibo.net Received: from pdx1-sub0-mail-a224.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.97.65.138 (trex/6.4.3); Wed, 24 Nov 2021 04:27:51 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|thomas-git@skibo.net X-MailChannels-Auth-Id: dreamhost X-Bored-Illustrious: 0981509c1616756a_1637728071730_2490712938 X-MC-Loop-Signature: 1637728071730:3683587004 X-MC-Ingress-Time: 1637728071730 Received: from localhost.localdomain (unknown [98.207.154.189]) (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) (Authenticated sender: thomas-git@skibo.net) by pdx1-sub0-mail-a224.dreamhost.com (Postfix) with ESMTPSA id 4HzSfZ06GZz1Ps; Tue, 23 Nov 2021 20:27:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=skibo.net; s=skibo.net; t=1637728070; bh=jSMvxpG7srQDJy1xAWTCbPf7nj0=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=SnXhTRWvF8pDEULnoAcDML5cf2Nzm9uScHN6r+sFVW+H5T6tEbJWYSs5NW2KzVSL3 NHliANO3MTbtxK16RvMDLdQaxikAuyBhZkgEtqvLv3Kk1RvHBwVqi0cXuykYUS6q/l rsTpqMpSxCCGjaYeM+oqRnR1G232a84hTs+gDGnM= From: Thomas Skibo To: u-boot@lists.denx.de Cc: ycliang@andestech.com, Thomas Skibo Subject: [PATCH v2 0/2] riscv: Support booting SiFive Unmatched from SPI flash. Date: Tue, 23 Nov 2021 20:27:35 -0800 Message-Id: <20211124042737.27974-1-thomas-git@skibo.net> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 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 This patch set adds support for booting the SiFive Unmatched board from SPI flash memory and saving the environment to flash. Thomas Skibo (2): riscv: Support booting SiFive Unmatched from SPI. riscv: Enable SPI flash env for SiFive Unmatched. arch/riscv/cpu/fu740/Kconfig | 13 +++++++++ .../dts/hifive-unmatched-a00-u-boot.dtsi | 11 +++++++ board/sifive/unmatched/Kconfig | 1 + board/sifive/unmatched/spl.c | 3 ++ configs/sifive_unmatched_defconfig | 6 ++++ doc/board/sifive/unmatched.rst | 29 +++++++++++++++++++ 6 files changed, 63 insertions(+) -- 2.25.1