Message ID | 1503954854-30963-3-git-send-email-mw@semihalf.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9501160329 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 28 Aug 2017 21:13:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 868DB287BE for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 28 Aug 2017 21:13:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 79D2C287C1; Mon, 28 Aug 2017 21:13:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0FBEA287BE for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 28 Aug 2017 21:13:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=VqRngwI2wAknfoMbda5qXPUsnKNWrt9HVf+l3hLpXt8=; b=RdqIHJ7cVPFubsuTXQfZSg6APG KhxyazFmsC6LHhQTGYvve1xHeMxd6TVP0uuJFz39Gtt2YEgUvLPfl3c6vASB/3kUeNzcOtDjej1Mn c82hy2b5KMD/K6yXGVodj0ypRtLd05F4O/cm+fFK9T91GofH2hpNbxPWKpXCWOatrYwLimIcFG4yC NdSBZsTZzxjCA/MfqzK4x7Frzs+FVedcy3OhivgW3H4JMsDp1+/b8QnDM+Q9a2QH6O3lHWJRhmXbF VAxvPqcPpOaNpP/l4/YQS+U6dVZQsEtUEqO72QQlm35XrVkwKbmkX0zXLjt1BtudZ9PEpUBuLzBQ6 fyZaoHTg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dmRL3-0006lX-KA; Mon, 28 Aug 2017 21:12:53 +0000 Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dmRJC-0005Fj-98 for linux-arm-kernel@lists.infradead.org; Mon, 28 Aug 2017 21:10:59 +0000 Received: by mail-lf0-x22d.google.com with SMTP id z12so6610807lfd.3 for <linux-arm-kernel@lists.infradead.org>; Mon, 28 Aug 2017 14:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=VcTZOPE1uGxbYJSa0tC+gHA9iP8v/MGPhkw6jlRpevs=; b=lBj3Pmci8vlONyAw2ix/ehN5JgKlOjC2ZPRj+h7HnNa6yF6THXLiqgGp5ccncYRtsP 04h4l9kA759OAbwDfpETK02wETLVtlJSGQ0azg8LCL74/QgcQQd6503cPjVwDeKZKIc7 tLEQOFz7LMERoOX77tWkJcrrYnIhgS2DYl0dx6+EweLS1gQgrx7IRp0/LthBTJYl4/ls slxQJW29l6jGr9BYLGf4nPegmJ68YKtL3biO61SK8JtgvGiZRXA1EqoO+3aJwoaLGxXg dHmFJ7dhIVCrhn7dVQoXQP5b5wIRvViwKI+W+iMZEs5i2/gbv/UoD7ODfKEZXq8XyGVy pOvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=VcTZOPE1uGxbYJSa0tC+gHA9iP8v/MGPhkw6jlRpevs=; b=Tr6Ck+H+Npc9QcdpUcDc34DaUHlHHqdiIwQOjeMOBFnoBiYgI8Ga73sHgtQ+ZjJd4E BBVK/x8Euqq6K6/G82u8jL1YlTK2aoKlLKIQBboqn4c08xL6HjDgqObbgQeLPbrCignK IhN3v5AbNnpqCaiCM4akQvP8lCFx5BxsPs1KgscLksvw2RJFAFXv861SUGBHSTASg+jT hf7RVofuEAiOZxcArhObBxqGvSR/f/jUma2eZCLMVcgfyopIdFfahRlF/OCfPqm/0PGg bWxKm88VTSe5l6vEZokMDBa9BqOBdb2mg8GO/Kke6qdzSYNNpUF2DUOkYtgQURTIwndA fUXg== X-Gm-Message-State: AHYfb5j7z1oTEFd0xEuyRqg6akq4P+RfqfpT9i45Erp9jJqF8pld3IBQ Ijfjqw7ECdjzIRNh X-Received: by 10.46.0.134 with SMTP id e6mr745363lji.142.1503954636366; Mon, 28 Aug 2017 14:10:36 -0700 (PDT) Received: from enkidu.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id k29sm267032lje.6.2017.08.28.14.10.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Aug 2017 14:10:35 -0700 (PDT) From: Marcin Wojtas <mw@semihalf.com> To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: marvell: Force 3byte addressing mode for SPI on A7040 DB Date: Mon, 28 Aug 2017 23:14:14 +0200 Message-Id: <1503954854-30963-3-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1503954854-30963-1-git-send-email-mw@semihalf.com> References: <1503954854-30963-1-git-send-email-mw@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170828_141058_515420_24784524 X-CRM114-Status: GOOD ( 10.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: mark.rutland@arm.com, thomas.petazzoni@free-electrons.com, jaz@semihalf.com, hannah@marvell.com, omrii@marvell.com, will.deacon@arm.com, robh+dt@kernel.org, nadavh@marvell.com, marek.vasut@gmail.com, broonie@kernel.org, neta@marvell.com, cyrille.pitchen@wedev4u.fr, gregory.clement@free-electrons.com, tn@semihalf.com, mw@semihalf.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/boot/dts/marvell/armada-7040-db.dts b/arch/arm64/boot/dts/marvell/armada-7040-db.dts index 92c761c..d0bd296 100644 --- a/arch/arm64/boot/dts/marvell/armada-7040-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-7040-db.dts @@ -116,6 +116,7 @@ compatible = "jedec,spi-nor"; reg = <0x0>; spi-max-frequency = <20000000>; + spi-3byte-addressing; partitions { compatible = "fixed-partitions";
Armada 7040 DB boards can be shipped with various models of boot SPI flash devices. An issue can emerge, when their size exceeds 16MB - in such case the kernel driver will switch automatically to 4B addressing mode. Later, in case of soft reset, the Boot ROM will fail to fetch the firmware during the board initialization. In order to prevent such behavior, this patch forces 3B addressing mode used on affected boards by adding newly introduced 'spi-3byte-addressing' property to the SPI flash nodes. Signed-off-by: Marcin Wojtas <mw@semihalf.com> --- arch/arm64/boot/dts/marvell/armada-7040-db.dts | 1 + 1 file changed, 1 insertion(+)