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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4725C433F5 for ; Tue, 28 Sep 2021 01:04:01 +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 F1F7360F11 for ; Tue, 28 Sep 2021 01:04:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F1F7360F11 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=skibo.net 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 2AD5082952; Tue, 28 Sep 2021 03:03:58 +0200 (CEST) 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="dh+Fk7g0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9A9AA82D72; Mon, 27 Sep 2021 21:59:58 +0200 (CEST) Received: from quail.birch.relay.mailchannels.net (quail.birch.relay.mailchannels.net [23.83.209.151]) (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 0050080202 for ; Mon, 27 Sep 2021 21:59:53 +0200 (CEST) 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 A185768053C; Mon, 27 Sep 2021 19:59:50 +0000 (UTC) Received: from pdx1-sub0-mail-a203.dreamhost.com (100-96-11-21.trex.outbound.svc.cluster.local [100.96.11.21]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 0A77F6800E0; Mon, 27 Sep 2021 19:59:50 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|thomas-git@skibo.net Received: from pdx1-sub0-mail-a203.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.96.11.21 (trex/6.4.3); Mon, 27 Sep 2021 19:59:50 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|thomas-git@skibo.net X-MailChannels-Auth-Id: dreamhost X-Lettuce-Stretch: 67f576432a0ae0f9_1632772790276_3272149632 X-MC-Loop-Signature: 1632772790276:3526028437 X-MC-Ingress-Time: 1632772790276 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-a203.dreamhost.com (Postfix) with ESMTPSA id 4HJD4j4ysvz192; Mon, 27 Sep 2021 12:59:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=skibo.net; s=skibo.net; t=1632772789; bh=jSMvxpG7srQDJy1xAWTCbPf7nj0=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=dh+Fk7g0aKZHa7ipnV378jLHFFBf2d/RMbvx7dhpPpk1tQQTdBTXGx+S70zi3zrJO h5cncxIOwCnDN7qok1ZoLMbWWE9qIEF+crnMpFpzHYGywM90xJl4dBmIHiSwyNvul9 2CT7qWabe3IQYMLaLsMIOV5zzBIOVNVKKo6buDgo= From: Thomas Skibo To: u-boot@lists.denx.de Cc: Thomas Skibo Subject: [PATCH 0/2] riscv: Support booting SiFive Unmatched from SPI flash. Date: Mon, 27 Sep 2021 12:59:36 -0700 Message-Id: <20210927195938.31778-1-thomas-git@skibo.net> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 28 Sep 2021 03:03:56 +0200 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 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