From patchwork Tue May 22 12:02:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10418319 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 07FF26053B for ; Tue, 22 May 2018 12:05:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC9BE28C19 for ; Tue, 22 May 2018 12:05:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DEFD0289DF; Tue, 22 May 2018 12:05:51 +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.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI 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 3FE95289DF for ; Tue, 22 May 2018 12:05:51 +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=42DJlWdGNX1gxp5gPzmeS6xxOLB+ZE4WIlXp+bpbDGs=; b=PhTZQgEPJqg9dpWz4Ipds/uRBJ 091ldR2pzogFXJIeUgEXK1wP8vPBUMIfMXz6hKIB3hFXTKGm1I+1tb18BfpHDie2uKIkkkWpmuWxx cSi9SqLITfk06oSJQO6JYx31r0Vh3GictW04N1hQY/9OAI+CV8VzeHfgL+P8OPNiD+8NU+FBtc/UF wNRLdF1VDOuNBoLMqDepOHvpFZSPEUPCNDvNDEO6jRczn1o4tH+ukQ8dNVguwEW3522Xam6INVbvP 8gVzO2ntxJGNCYRpeaZv77+sHRvq3Gtvbkh4OtBNoghFDikEX7APa/B4u8ivPSnbeSIm/XbZLKOTY R4pgNW+Q==; 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 1fL62x-0001Ou-GD; Tue, 22 May 2018 12:05:43 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fL60j-00074S-2B for linux-arm-kernel@lists.infradead.org; Tue, 22 May 2018 12:03:49 +0000 Received: by mail-wm0-x242.google.com with SMTP id t11-v6so31285848wmt.0 for ; Tue, 22 May 2018 05:03:14 -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:in-reply-to:references; bh=vXoNSysFYtGEXmFlLUJIarKA4wU7lt2MJVCK5sbuDrA=; b=HKPCLQN/f4as8dNEhBcP7HeFSyxYlIcgh1iNtFLPiGpBpJkW07abAXmGsvxNEk4aSZ d/cZ+ix3GD0wKYmcY2ZzpVfghzWjwIIlUmMXxJa5Tk7DNhEu/6S1+Cs+E3OiLfexIA0P FisfPxrCXyYQe3cj9akcrowl3R/zS3zJWy1j1Mr0G4NcKZC7CKNqpIXaEOEobOjaY6AH dbg1knEriR1bjLW74B19c3DSoo3nFnwTd5FP8Af8Ae/7MfzM71+J+EioveOUe6wrCjmY m7sKyoPkLEYkOVO6FwQ7php91aEn/ib13dUEC5hM2N+kPrvstFjHA7qSTjAqQSlH6mKj fh3A== 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=vXoNSysFYtGEXmFlLUJIarKA4wU7lt2MJVCK5sbuDrA=; b=IaKFpyAw0y35zrfd8xO0PFN2tDqwv4EpNRK8uHCiidPWoTvjPutAFSEGr5S0Je0hie lELHFpXpISwPIl2X3jVUv9onCkhQcnv8zDrPgXOsZqcLdUGrzqq31xRIgXmOi17c8wyR lFA9M9chFEnyYZHHz8R8psLvD9oa+ukFKzgJ6853+72ByYMuJWltvApQqBkftZXaAO3o Ui1RCIdQ6PS3uIGU9M0pWVbILoHxzVK6PVetHpPZtT6dbjXd4hPiGjTCqNzx0DkaeEW2 kZSIM8PJJx1I2uSVzk9wgY7p4oA95Ay6TTngwBo67+eTmrEp1ZD/RVg+RPI0Ecsrlgs7 Z+3Q== X-Gm-Message-State: ALKqPwdoXIh93B8+otGe8KEw2UzDPmUV/etudkEzJITDD8bWR0VZ+Pk7 MX9m87mluQcY1s8FIsIVVrJ2PKn0 X-Google-Smtp-Source: AB8JxZpkgLz/74/clyEma38+i4kgKH06+1q/BDI6oXci554XDrxgaIwg6K1Vy6/KG1ux3mw1mh2inA== X-Received: by 2002:a1c:c241:: with SMTP id s62-v6mr1088998wmf.112.1526990592598; Tue, 22 May 2018 05:03:12 -0700 (PDT) Received: from kurokawa.lan (ip-86-49-107-50.net.upcbroadband.cz. [86.49.107.50]) by smtp.gmail.com with ESMTPSA id v196-v6sm13042370wmf.36.2018.05.22.05.03.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 05:03:11 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/9] ARM: dts: stout: Drop MTD partitioning from DT Date: Tue, 22 May 2018 14:02:51 +0200 Message-Id: <20180522120257.13232-3-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180522120257.13232-1-marek.vasut+renesas@gmail.com> References: <20180522120257.13232-1-marek.vasut+renesas@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180522_050325_280805_43E5C0B8 X-CRM114-Status: GOOD ( 13.85 ) 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: devicetree@vger.kernel.org, Geert Uytterhoeven , Wolfram Sang , linux-renesas-soc@vger.kernel.org, Laurent Pinchart , Simon Horman , Marek Vasut MIME-Version: 1.0 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 Drop the MTD partitioning from DT, since it does not describe HW and to give way to a more flexible kernel command line partition passing. To retain the original partitioning, assure you have enabled CONFIG_MTD_CMDLINE_PARTS in your kernel config and add the following to your kernel command line: mtdparts=spi0.0:512k@0(loader),256k(uboot),256k(uboot-env),-(flash) Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Laurent Pinchart Cc: Simon Horman Cc: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org Acked-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7790-stout.dts | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790-stout.dts b/arch/arm/boot/dts/r8a7790-stout.dts index a13a92c26645..dc65519d53ab 100644 --- a/arch/arm/boot/dts/r8a7790-stout.dts +++ b/arch/arm/boot/dts/r8a7790-stout.dts @@ -211,32 +211,6 @@ spi-cpha; spi-cpol; m25p,fast-read; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "loader"; - reg = <0x00000000 0x00080000>; - read-only; - }; - partition@80000 { - label = "uboot"; - reg = <0x00080000 0x00040000>; - read-only; - }; - partition@c0000 { - label = "uboot-env"; - reg = <0x000c0000 0x00040000>; - read-only; - }; - partition@100000 { - label = "flash"; - reg = <0x00100000 0x03f00000>; - }; - }; }; };