From patchwork Mon Apr 20 12:52:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1088 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B03043F1FE for ; Mon, 20 Apr 2020 14:52:50 +0200 (CEST) Received: by mail-pf1-f198.google.com with SMTP id t3sf9670262pfd.5 for ; Mon, 20 Apr 2020 05:52:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1587387169; cv=pass; d=google.com; s=arc-20160816; b=rVjiHcmmiMC0Liyy57Atwh654mYYvdy+39CCRizPjJXhuKsRHlO9qJJsVON11WFuaa Vb1D0amctelKJI2YeGeazi7kn9jgia4OrMTcpnAvLBr7CZuUncNM+oN/cMNc9m7th+Yj cdbhfOURD499DktEC/djH2qIa4wJID6NrOcxX9b0Wx66WZkCMyM21OMlilctNlV3Acf2 P/+HPY+MblcOYaE8/np5atGTlSkWAsHEVFpWGD8YdUsPtNbypH3nNbv+j6C0eohBHeG7 Hn2assFSiEzRLGrU6+wZ6MWifaCmvExJC3kRZ3yGfU0CL7n4eCVIc7JtG7SNeaEZTGuJ NssQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:message-id:date:subject:cc:to:from :mime-version:dkim-signature; bh=Fjvzf9+jQL6C5cgU33ieBk1eYDxaRd+b0qltJnr0UFM=; b=kzLVs81pjvj+Ly+HWza9xNpv+E+yPhct1spGME2tIslBrOjU1fAww5fWnpV6fyR081 KfC3a2azW/WRast+AAri+5gvdRbpArss/zf9B6FVjjEn9Goz0x3R7wF8VPyH5+w8x4Ts HwCLzO3sM/y9fEeN3ksTo5+xujsjFpxxkoifnNF5PjI3xAhAZfXa1X+Mr/osy44JpkhY 08rC34VVOq8w9Ikv78xEfEl8Hg/5ek3VpkDBAp1HQu7Mg60rBwMEe7D4I3cVjD5muK1C NeBwFJsUVLX9cw5KTBbIaKIUlL0nmg+ZJr/Lv6Zq2xyDf7ys34dsnVNIh+e/tgXZml16 jyyg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qkKSGgAo; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:from:to:cc:subject:date:message-id:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=Fjvzf9+jQL6C5cgU33ieBk1eYDxaRd+b0qltJnr0UFM=; b=WRXWcbYNuUdRFUTwczY9ktnNm9lkdj5Y6XsQ5OxJFkqqb8GuKsyg99a3T/enwcWCSc DPK2I0jpk6CmdJpJeI8dC50tyZtjb9AJkNC57v6kfwXR+us4Sm1NBRGgDi2ik+pzbxLW TTIa7/tIzEJcm1I/P8Gtah1gfGIYygzzjLUFM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=Fjvzf9+jQL6C5cgU33ieBk1eYDxaRd+b0qltJnr0UFM=; b=EpuXEpSgte84+vgAsIR6hYvmdmS1kdplI/UuIIfb3TQqYsCQvc6YUM+bsAJfeEXHz+ Qr7FFmu4n8vT2fSp3Td1swKSWZ+fyURkT/dEc+ZUAkGeWejaRveALlraTS22OToL8c9l M+bnYkH61CwCMtUwgmzNKo40BAjquBH5lS1NBFH2HDq3HhzJqJz5/5O4bDVkYF1qYdm2 Zg8nI2AJbii6oXZSy1Gyq8ErPaowjCRVRHtXo2qLHrzJu0ImJRuRm/JojTWSqZCq+rcU z4J7zSrwgPanC3bWlGvSRrXJLiu5xrORAP0/j/bep4U9sJ/d30mZuBYEanFW7I0EW1No r9+A== X-Gm-Message-State: AGi0PubbMm2ATcWO27wVnF8ByzhARD5WAbrcKiiGqA0FnKCUtEOJdHi6 l1V53l2KRQiK2l7UKZ7oMomo8o2k X-Google-Smtp-Source: APiQypJofUsavdSM7DLkYBZQdsxyapod1EqDPDDm/K91NngRbGJ+v4onXPN9G9Fi7Q8cF388J4p7qg== X-Received: by 2002:a17:902:a70b:: with SMTP id w11mr17494190plq.59.1587387168673; Mon, 20 Apr 2020 05:52:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:3657:: with SMTP id nh23ls12730335pjb.1.canary-gmail; Mon, 20 Apr 2020 05:52:48 -0700 (PDT) X-Received: by 2002:a17:90a:eb05:: with SMTP id j5mr11329625pjz.86.1587387168192; Mon, 20 Apr 2020 05:52:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587387168; cv=none; d=google.com; s=arc-20160816; b=e7to8HOx59d1aNjvAcxgS0GCRkMok/XOE5Njr8A1pM9ZcH5ID2nd8M0B3YgsORdaRe r6co+N6fJMqTo5sv91jZ/exWnJASi89lBZf5f43Q+3r7dkGoXg/MD3flUWSi7+6bB6Vg RZkFXcfJq6PI5ubbW7Hb4hqJc9H9L1GoL9DmlT6/Kqkt5/RT9M2fhVrqqPIGcOvu9cM2 bL02qTkMlYT59kspT2UI/En75kzniTVR7Boi8QYejKoGekiH9g+5YJ4xDRpyYDkElTjJ wqruLYeZU4SqA5N+GqtQgj4WU1xbWVVUCoagKSHH67NdmD0G73rm9zC4N+zkRRrzJpGF XneA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=iKvyWoR8CJDJpF0VUHcp6w4dz5Fxa/3jhWfGvp/eXKo=; b=m29P4FXPcCTr9nEIUPZUH9bDVT5G0F1huxizwRgtp0GTOz6n0t4YJH8zi/2laly46+ jVR6vXEECc2p+YuaUE9sZso1ht9/6JHPjJpRP1vzRx8M0AtKUIDqRTZQ0eh/xK9Cn9hN dbEQJZZUzSJoeHXDGEyGvNGNc0zbnLhiB5+/pwkvTnlLDTHtQs9r418h7Xwq7Ya4zcEx 0An/XhduyKeYn+sUg2OzcWGFdYwxSGQu6BZFil25dovDjhzA3/pZ6T5FvA+GesDGz47d /gs3yfRHYCXvIzamjyGiNG9518IefyXZqzyTYFPmxrnUZDFSkJ53yd6LXueCaoKx50Vj Ii6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qkKSGgAo; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id t189sor1060283pfb.29.2020.04.20.05.52.47 for (Google Transport Security); Mon, 20 Apr 2020 05:52:47 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:1ccb:: with SMTP id c194mr5392196pfc.325.1587387166947; Mon, 20 Apr 2020 05:52:46 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:7ddc:e17b:a9b3:404]) by smtp.gmail.com with ESMTPSA id i25sm1036932pfd.140.2020.04.20.05.52.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 05:52:46 -0700 (PDT) From: Jagan Teki To: u-boot@lists.denx.de Cc: Rick Chen , Bin Meng , Bhargav Shah , Sagar Shrikant Kadam , linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v3 0/3] riscv: sifive/fu540: Enable SPI-NOR support Date: Mon, 20 Apr 2020 18:22:35 +0530 Message-Id: <20200420125238.9610-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=qkKSGgAo; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This is series v3 for SPI-NOR support on SiFive FU540 platform with HiFive Unleashed board. Here is the previous version changes[1]. Changes for v3: - fixed QPP support - dropped sf commands log Depends on: https://patchwork.ozlabs.org/project/uboot/list/?series=171332 https://patchwork.ozlabs.org/project/uboot/list/?series=171338 https://patchwork.ozlabs.org/project/uboot/list/?series=171355 Tested on: - Whole flash area. - Boot from MMC - Boot from SPI [1] https://patchwork.ozlabs.org/project/uboot/list/?series=136556 Any inputs? Jagan. Jagan Teki (3): spi: sifive: Fix QPP transfer riscv: dts: hifive-unleashed-a00: Add -u-boot.dtsi sifive: fu540: Enable spi-nor flash support .../dts/hifive-unleashed-a00-u-boot.dtsi | 11 ++++ board/sifive/fu540/Kconfig | 3 + drivers/spi/spi-sifive.c | 57 ++++++++++++------- 3 files changed, 51 insertions(+), 20 deletions(-) create mode 100644 arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi