From patchwork Wed Apr 4 13:14:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 10322607 Return-Path: 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 65D646053F for ; Wed, 4 Apr 2018 13:14:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5486728DEB for ; Wed, 4 Apr 2018 13:14:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4938C28DF0; Wed, 4 Apr 2018 13:14:55 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 4580828C3E for ; Wed, 4 Apr 2018 13:14:53 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=X/Evnk0GGPu+RuN0DNh6z4Og5UHMOJHfo57ZQoNwEME=; b=fFVNMKbf1tVMFa o3iYT8S2BxNhnOvvb6aKBH7gifHf4rSlU5CmborxiXW61VNP0LR+tHujMDWfc2fPrJuquqiduq/fe BYQD6zoxP8WUZD6LnxMwHPSON7tKUzcz3GXQpLXv0aWy0VBFrGIdlNChqoJdDh4KODEwvl88j4JfM lmEGrcyivN/4Up66++4BRz+5T0qQuYZNXLto8Gyt7jyUuWtyseM9gf6lTYFPEaLtfDxIe1mZ2Z63D qcs5ShLhQP3deybzTiTOx3Z+p9ZYOXlibacoX8KLPGPd/aC6/IG8XoxJKFoOdTzqmq7nTbIzkyuSJ SI6iMt5gHW01FpB4wQng==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f3iFV-0004MD-HG; Wed, 04 Apr 2018 13:14:49 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f3iFS-0004Ka-Tm for linux-arm-kernel@lists.infradead.org; Wed, 04 Apr 2018 13:14:48 +0000 Received: by mail-wr0-x241.google.com with SMTP id u46so22608243wrc.11 for ; Wed, 04 Apr 2018 06:14:36 -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=LuujskGGUhhxZbwiXDyC+CAg4C1x8K3/ZVhAGCyG5Y4=; b=o0V3rz4U3iAEazjf4VVttA05ZKIMf3EeBYEPxmG/ue90QLgZqMUlJxHhAOyd+Qk7Sk PpbXxknwu20gyXbO/uD8gJ4tZkmco1ULEJKXRCxhBwba/uYB6ZhvgHNSemgGkYeJkZAf +56Csy12+aLcyqSHqFbQw9Jv1Z+wCs3kQDnF0T9sDIX/Z3Ue+c822XYSO27BiIiU2Adq G9D9IGE8S4N9S9HxdUkkdghPb+pAvicvDLERwcjK8fvsCw/xPkT85WNMDoIOidw1ixxc jMdM32HfuNVTx2HflhDf3J7WNC9FtkTs9KnMAZU0r/57aorwn5f4sGG1xfhnh8qxMn5H J2zg== 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=LuujskGGUhhxZbwiXDyC+CAg4C1x8K3/ZVhAGCyG5Y4=; b=BClHQ6k9YhyoDB4P1m5EmSX3ReCKf6ClUWVevzIS8t6CBmktvX7GDyXYAU5BppTIoC xBWEUljyzKPTgYZ+gBWc4GqbsvPpJ9ACOEcJjmCNmrpnAL3RMiEjo54c0fFaqeK1Gn04 +mtHF9zynmmK34d0SeVFl+lHKwGeU+k2aQsumerMoDysQ2cCULTV9QmCwHInrIqwnSqf 9ljjTZ7LiARK2TnuGUAZTIusMeGONWPJdfMd2l3Bp2azVJXkU1a12DgvvyDiBWGt/kTM /51jIwH463ISZMP01r4/TnACkSytKrRnFdrngaqJSbQicUS4hQms0DmmYf1ZO5HMDXde E6NQ== X-Gm-Message-State: ALQs6tCYRw3B2w5pFKXMe0d4ji+WxfnO6G+HUn/8uPuvjwsy+wTUyn2i zbf3Me6MlKt5Ae2XfF5iec0= X-Google-Smtp-Source: AIpwx4+GHRr36nzeLrRoHvuNuD0xv47aa8ZhO++nsY32YXtkmcI2RJNXjLS4hyTsx7MCPKfOhqFRHQ== X-Received: by 2002:a19:63db:: with SMTP id v88-v6mr11336389lfi.70.1522847674608; Wed, 04 Apr 2018 06:14:34 -0700 (PDT) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id v20sm878528ljj.71.2018.04.04.06.14.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Apr 2018 06:14:32 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Florian Fainelli Subject: [PATCH 4.18] ARM: dts: BCM5301X: Switch Luxul XWC-1000 to the new fixed partitions syntax Date: Wed, 4 Apr 2018 15:14:21 +0200 Message-Id: <20180404131421.28651-1-zajec5@gmail.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180404_061447_038662_C6315B26 X-CRM114-Status: GOOD ( 12.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Jon Mason , Hauke Mehrtens , Russell King , Rob Herring , bcm-kernel-feedback-list@broadcom.com, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rafał Miłecki This new syntax is slightly better designed & uses "compatible" string. For details see Documentation/devicetree/bindings/mtd/partition.txt . Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts index 50d65d8fbd9a..5efb6f31164d 100644 --- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts @@ -26,9 +26,15 @@ nand: nand@18028000 { nandcs@0 { - partition@0 { - label = "ubi"; - reg = <0x00000000 0x08000000>; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "ubi"; + reg = <0x00000000 0x08000000>; + }; }; }; };