Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3682402ybi; Mon, 27 May 2019 04:18:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdSQ6nRL6pGp5xaKdFuyq7QvfQ+ilJRIvjNP00fcAukuR8nnwZIUMg1FLEAL+lHQ3/O95h X-Received: by 2002:a62:6585:: with SMTP id z127mr95691546pfb.179.1558955893490; Mon, 27 May 2019 04:18:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558955893; cv=none; d=google.com; s=arc-20160816; b=l4Ytz0i39ooUzGucdB5boHfshCFf3b8544Zx9kP7bLYYMfjihyKa0GR7t+XyiN+amv MECzeSHZUbnanbEYkG6C4rZ976spsU1uZEf/zvewYeikhgtUlvqd+j7tDVl+AHKvPs3S xdpcb2GrNbDAJLuYX+wxRrwGBDLm3Cw4VQd6Ey/uk5Gxbo0DW9LvIQhw4J3u5F34Pp9v 0pQz9LFg89bgiKxaKq4rQwJHJ0Prch3mEHOp7kjRlAMYTsS1ELwqT3g2p/0n72JBIemV J1/mtO/obzky1dRKAJGpzHy0d3DVv9wEomh7NU6uLwR01bTivYjo0vsr0JrIKpcPdQEb VPsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=IE0QaynMlWug2qNR46NtnCWHIB0RzkNO84JDp+YXRlk=; b=vnGyZjyhuCww2c7JezshfeWgfNtgKahcde9t30kvJUoDSjWusy2Gulza2WCq/uezNR ti+IbW2n82/TW12bEYBotc089mtizG992JHFLiGGrJx7uROrsU8OwL0aGlkyJ4lHz7Oy xz4omu8NzV10WwlWxoZR984hLz/uLBioBZggX0ILpnQ6OUfWPzz4DOxzASWtTe92vX1w 0X5q4nKcjE/GjwkNDGGx+KW0MgzDwhlJtNw/2Ofie412aUHIiAKMqOMkbsqhFh8cb89K XDRm0pte4AIRiJuusiaht4I8R1C1nVYzmQMiMv154DqX9zpPIPSoYfoHdMuV7pugLs6v Y+CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WWCRBfLX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m63si18114085pld.421.2019.05.27.04.17.57; Mon, 27 May 2019 04:18:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WWCRBfLX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726794AbfE0LQ1 (ORCPT + 99 others); Mon, 27 May 2019 07:16:27 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:38470 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725814AbfE0LQ1 (ORCPT ); Mon, 27 May 2019 07:16:27 -0400 Received: by mail-wm1-f66.google.com with SMTP id t5so15458112wmh.3; Mon, 27 May 2019 04:16:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IE0QaynMlWug2qNR46NtnCWHIB0RzkNO84JDp+YXRlk=; b=WWCRBfLXHGOwfH9Bz0XMS3YsDxSjIeSRx8cKi5IRGytXczDcD6hu7oSG1k7q/gaaQ8 c65fxwdjDOgK4LGctIEtQYUo30bZ98akHa2NBiF5wdW/bIY7/yLl05YD6CNrmB0hIJ9l 8seRZoEkcNICPC0HF0d2WajB8LL/EncHNXbmwarakyJyxlZX1CP5AksSw8eO6mqFVpd6 /74D4rntZNZxWh7kUML8nTVtvKPT1G/xsCUPcmNguVGNsXt3uHXOtpOjbad09ZC2ztsq 8jsF/5hM85lY21s2hrbTgvCdlLJDcLxKXHNGvR7rZIHamlv4zDwXc3xNsCTnLxWp5XzE hfXg== 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:mime-version :content-transfer-encoding; bh=IE0QaynMlWug2qNR46NtnCWHIB0RzkNO84JDp+YXRlk=; b=q1V7f+f9QMWpAtDMkWEkjGbo7Di/h6wXdL4b2yasGWLlFX7DXaoy8hd5ftbh/L+ikA k/tpCVC6G8qBBntT5NT+05CbWTLehC+GUoHKWyj/snlnLfBTR0DMkCHqZQYtfYBrcsr1 6yQvooeBOEf0h4v3YC+JqUmzO33EzL2osoU4DK67CRilFfLjqy13YoJaCa2lleTviqEL bN/A7FsilwYSJnmu136DUR2dVdSDmQKF/9oMRmUnPU9VfoBNEEM61LMcP2VLQwK+4Q8O SkwrS2m+oag70PnDcK6ivBWXaksdks1qVK3Qjc4OsizbeQjlozvlfwHuZIoSderEDviI 0u3A== X-Gm-Message-State: APjAAAV/AIO1JsG8g63FT6iaez9+1fBMsj57M+1APdrmdjNgtEOc5FVk G0tWWsYlTpUdp9gdmkj0ML0= X-Received: by 2002:a05:600c:22cb:: with SMTP id 11mr9361238wmg.159.1558955785132; Mon, 27 May 2019 04:16:25 -0700 (PDT) Received: from localhost.localdomain (131.ip-164-132-48.eu. [164.132.48.131]) by smtp.googlemail.com with ESMTPSA id b8sm3781578wrr.88.2019.05.27.04.16.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 May 2019 04:16:24 -0700 (PDT) From: Tomasz Maciej Nowak To: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Mark Rutland Cc: Ellie Reeves , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: armada-3720-espressobin: correct spi node Date: Mon, 27 May 2019 13:16:14 +0200 Message-Id: <20190527111614.3694-1-tmn505@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The manufacturer of this board, ships it with various SPI NOR chips and increments U-Boot bootloader version along the time. There is no way to tell which is placed on the board since no revision bump takes place. This creates two issues. The first, cosmetic. Since the NOR chip may differ, there's message on boot stating that kernel expected w25q32dw and found different one. To correct this, remove optional device-specific compatible string. Being here lets replace bogus "spi-flash" compatible string with proper one. The second is linked to partitions layout, it changed after commit: 81e7251252 ("arm64: mvebu: config: move env to the end of the 4MB boot device") in Marvells downstream U-Boot fork [1], shifting environment location to the end of boot device. Since the new boards will have U-Boot with this change, it'll lead to improper results writing or reading from these partitions. We can't tell if users will update bootloader to recent version provided on manufacturer website, so lets drop partitons layout. 1. https://github.com/MarvellEmbeddedProcessors/u-boot-marvell.git Signed-off-by: Tomasz Maciej Nowak --- .../dts/marvell/armada-3720-espressobin.dts | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts index 6be019e1888e..fbcf03f86c96 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts @@ -95,25 +95,9 @@ flash@0 { reg = <0>; - compatible = "winbond,w25q32dw", "jedec,spi-flash"; + compatible = "jedec,spi-nor"; spi-max-frequency = <104000000>; m25p,fast-read; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "uboot"; - reg = <0 0x180000>; - }; - - partition@180000 { - label = "ubootenv"; - reg = <0x180000 0x10000>; - }; - }; }; }; -- 2.21.0