From patchwork Tue Oct 2 13:20:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 10623681 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C3BC413BB for ; Tue, 2 Oct 2018 13:34:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B865E28965 for ; Tue, 2 Oct 2018 13:34:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AA4A328995; Tue, 2 Oct 2018 13:34: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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 3B9B828965 for ; Tue, 2 Oct 2018 13:34:55 +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: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=x3QFGxxt63L7B1YOLsZ1P+2u8tMqr0QnfA/Y/R10kUc=; b=lyOy8RC69Smzob EGyxkgRxTuAcT7CwLxxW/mBuc9gcCNJwXKknsU1+QDNj+SA0z29esSJBELvhgEQuZmgCrsq4OAvLD 05WE203g2XQOLotizKGaQscEhMz0C+Gl3tpROvP5G9WmnzFlVBIDrz5kJPd8it/EXZMiRAPa1Sy1B XcLOz0z7MU5OltUtNAObwoYVSLhJrtxoc+XonGjxZd0JD6XhAQlWvj6zyxdkb6fvKiKnTYggPzXH1 Nn0VARShOuoDE2IyumpU/oYeMYc4S+oXCAz6jvLoaPNZRg6erfKV33MrzTtInqaNo6uU+t5x9iVho 0q/UQLlUADGJWsJUFDIQ==; 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 1g7Kow-0001zq-2g; Tue, 02 Oct 2018 13:34:38 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7Knj-0000P6-QW for linux-arm-kernel@bombadil.infradead.org; Tue, 02 Oct 2018 13:33:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=e8TAAiZJGL+5KUqbloGFhhCy/NvrQ3E+VU5mC6Lg8cw=; b=eVQJ2ylZQeDCuLqcAQB+fxXui Fpr8NJt515C0BO6te+o7C3XzScztBZOg6SacxEyyg8V4CoG913hqp8uafB9C0qcsf8ymVDcOSfBac DUpFy2NxNMrNbVaM5s9bo9a8OVVfx810vDbbq7bXu+CTE0QcyiozRu+CenTgydoxHow6cWFkOwk43 WQPOc2la8hqzC9UhUJ2CX+/AlVO+tGDLJ4sRMAyPNqQTXV1U7ZNWHi4Tc/IXdNt5xg6YIQQe9zT1V 04btthG3Ui+IW3aUIbBz+gM1JmFoUnOZTtWXe71XLdKMmsoAu1ZeJTboPqGWR4S3r6AW6jc3S7YTJ oxZledE+g==; Received: from esa4.microchip.iphmx.com ([68.232.154.123]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7Kbt-0003um-UG for linux-arm-kernel@lists.infradead.org; Tue, 02 Oct 2018 13:21:12 +0000 X-IronPort-AV: E=Sophos;i="5.54,332,1534834800"; d="scan'208";a="20565568" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 02 Oct 2018 06:20:55 -0700 Received: from localhost.localdomain.com (10.10.76.4) by chn-sv-exch05.mchp-main.com (10.10.76.106) with Microsoft SMTP Server id 14.3.352.0; Tue, 2 Oct 2018 06:20:54 -0700 From: Tudor Ambarus To: , , , , , , , Subject: [PATCH 1/4] ARM: dts: at91: sama5d2_ptc_ek: fix bootloader env offsets Date: Tue, 2 Oct 2018 16:20:35 +0300 Message-ID: <20181002132038.27189-2-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20181002132038.27189-1-tudor.ambarus@microchip.com> References: <20181002132038.27189-1-tudor.ambarus@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181002_142110_244065_BB3FD6D9 X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. 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: Tudor Ambarus 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 The offsets for the bootloader environment and its redundant partition were inverted. Fix the addresses to match our nand flash map available at: http://www.at91.com/linux4sam/pub/Linux4SAM/SambaSubsections//demo_nandflash_map_lnx4sam5x.png Signed-off-by: Tudor Ambarus --- arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts b/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts index b10dccd0958f..bb08f8344128 100644 --- a/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts +++ b/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts @@ -91,13 +91,13 @@ reg = <0x40000 0xc0000>; }; - bootloaderenv@0x100000 { - label = "bootloader env"; + bootloaderenvred@0x100000 { + label = "bootloader env redundant"; reg = <0x100000 0x40000>; }; - bootloaderenvred@0x140000 { - label = "bootloader env redundant"; + bootloaderenv@0x140000 { + label = "bootloader env"; reg = <0x140000 0x40000>; }; From patchwork Tue Oct 2 13:20:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 10623671 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1947D174E for ; Tue, 2 Oct 2018 13:25:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 15BA228646 for ; Tue, 2 Oct 2018 13:25:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 09E2428704; Tue, 2 Oct 2018 13:25:21 +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_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 055FD28646 for ; Tue, 2 Oct 2018 13:25:20 +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: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=A2DOd7brsiFK+Ss72VW1m5J/sSLxlVvKqsyZ37F8mMA=; b=U0sKTza26ugWXE gnYmgxYUdSy2tghe99QLbGR30687+qmYHNTnNGBk1c1qYuSkfp3ZVv5Yh500vOLzhg+cFMyc8aiso uFVnmPfonPuj9sZ5J4NFakwNb8kHbQxt+ApYjxM9SXxFDijzS9L4ZGWPUAS1f0AoXbcyynCwehmLF IbSt4uFox45qQr2rJy2VuxG7N9GPtJktb0kEAUj9b5JY/v7Eo622HyiSvwtZ5Y8Pr9bKQW0iEhOY1 M0vpDQej7bkaRj9BWozPQgwKfbryhE0Mx51/cknc9n4/MedV/r8jYWRtK3HZRcX3ysIz+9sF8MAXC icvTGBGD+WosPQtgwWRg==; 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 1g7Kfq-0004rl-Ph; Tue, 02 Oct 2018 13:25:14 +0000 Received: from esa5.microchip.iphmx.com ([216.71.150.166]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7Kbp-0002Yx-NJ for linux-arm-kernel@lists.infradead.org; Tue, 02 Oct 2018 13:23:06 +0000 X-IronPort-AV: E=Sophos;i="5.54,332,1534834800"; d="scan'208";a="18815642" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 02 Oct 2018 06:20:57 -0700 Received: from localhost.localdomain.com (10.10.76.4) by chn-sv-exch05.mchp-main.com (10.10.76.106) with Microsoft SMTP Server id 14.3.352.0; Tue, 2 Oct 2018 06:20:57 -0700 From: Tudor Ambarus To: , , , , , , , Subject: [PATCH 2/4] ARM: dts: at91: at91sam9x5cm: even nand memory partitions Date: Tue, 2 Oct 2018 16:20:36 +0300 Message-ID: <20181002132038.27189-3-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20181002132038.27189-1-tudor.ambarus@microchip.com> References: <20181002132038.27189-1-tudor.ambarus@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181002_062105_928886_B3C06CF4 X-CRM114-Status: UNSURE ( 8.19 ) X-CRM114-Notice: Please train this message. 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: Tudor Ambarus 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 sam9x5cm, sama5d2_ptc_ek, sama5d3_xplained and sama5d4_xplained nand flashes have a common memory map. Even the nand memory partitions to match our nand flash map available at: http://www.at91.com/linux4sam/pub/Linux4SAM/SambaSubsections//demo_nandflash_map_lnx4sam5x.png Signed-off-by: Tudor Ambarus --- arch/arm/boot/dts/at91sam9x5cm.dtsi | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9x5cm.dtsi b/arch/arm/boot/dts/at91sam9x5cm.dtsi index 993eabe1cf7a..c4cc9cc945fa 100644 --- a/arch/arm/boot/dts/at91sam9x5cm.dtsi +++ b/arch/arm/boot/dts/at91sam9x5cm.dtsi @@ -85,12 +85,22 @@ uboot@40000 { label = "u-boot"; - reg = <0x40000 0x80000>; + reg = <0x40000 0xc0000>; }; - ubootenv@c0000 { + ubootenvred@100000 { + label = "U-Boot Env Redundant"; + reg = <0x100000 0x40000>; + }; + + ubootenv@140000 { label = "U-Boot Env"; - reg = <0xc0000 0x140000>; + reg = <0x140000 0x40000>; + }; + + dtb@180000 { + label = "device tree"; + reg = <0x180000 0x80000>; }; kernel@200000 { From patchwork Tue Oct 2 13:20:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 10623735 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BC22115E8 for ; Tue, 2 Oct 2018 13:39:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA490289FC for ; Tue, 2 Oct 2018 13:39:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD9CE28A00; Tue, 2 Oct 2018 13:39:09 +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_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 3D9DA289FC for ; Tue, 2 Oct 2018 13:39:09 +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: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=IuGZ+w7cFIcy1q25QtGLoGs+PRkGDN6F0uMq83s+eMw=; b=M7JtoruqIdKrde zWJwDqNgRTyfaZDcKYAs2gjYR/QNGxcylD2z3VFhCyDG4mjBXtY3ajPPiJleuJJOjLmErXa4hoFzf Vu4qOxlOhG4z/Q8bTiYzuzg8mkxWlvj1xCic2CrGj8SG1NiDY+auUBjEkgoWev2mVkek44ADmFI6d 3tmktrUXny/aa0YP5ClVxoSX1j6Be74IJqt8GMmluexdZQA20lq/v5oD0A80eQT6LC+78fXA1xzHg RzSuYKY3W41DXrxbO4gIziw7ZoaaspynxnUSt7ok4/N4OKQLP8Tbd/mmTk9qFA1Mpa0hEWty4a1w8 JEAZQ/FqK0gouUFBxbXw==; 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 1g7KtE-0004dQ-Ks; Tue, 02 Oct 2018 13:39:04 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7Knj-00005X-Jt for linux-arm-kernel@bombadil.infradead.org; Tue, 02 Oct 2018 13:33:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=g6D/+1YoeVOShPm0pXW4jB7J2CD1W5u4vKgdKz0bb8I=; b=l3dTiFV4KkDwTwQLnCZzVe5+z ZEFiBTJdBBMJz5+mjFMFlFhjodCC31xXhB8Elbicgbtl4hG2kM+nY6I71S+N+UeH6Wvhy5+rOAbdp XKpYpNKniFvHjlzL/pHq3AgPaQL5ZoPrVti9dxs9oTEWfoQRao+BQYEZbSsGaAjCZib6FSP/UACtA ZVSVneHbJUjLr1niydoioMa4V6xTsZYiZvwhW5AvD9wov5SdLwT0K9s/Pgygpl90+sz3mON2QYASW xFCpm13FuACO5pMxt4VM2haCLWZKo9sxGNxJa7L+kTS9NuYhhWGp08oHb5OXUEjCtFfNj43pQzM3f v5h3F4jWQ==; Received: from esa4.microchip.iphmx.com ([68.232.154.123]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7Kbv-0003vj-3V for linux-arm-kernel@lists.infradead.org; Tue, 02 Oct 2018 13:21:13 +0000 X-IronPort-AV: E=Sophos;i="5.54,332,1534834800"; d="scan'208";a="20565577" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 02 Oct 2018 06:21:00 -0700 Received: from localhost.localdomain.com (10.10.76.4) by chn-sv-exch05.mchp-main.com (10.10.76.106) with Microsoft SMTP Server id 14.3.352.0; Tue, 2 Oct 2018 06:20:59 -0700 From: Tudor Ambarus To: , , , , , , , Subject: [PATCH 3/4] ARM: dts: at91: sama5d3_xplained: even nand memory partitions Date: Tue, 2 Oct 2018 16:20:37 +0300 Message-ID: <20181002132038.27189-4-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20181002132038.27189-1-tudor.ambarus@microchip.com> References: <20181002132038.27189-1-tudor.ambarus@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181002_142111_430130_70DC028E X-CRM114-Status: UNSURE ( 8.91 ) X-CRM114-Notice: Please train this message. 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: Tudor Ambarus 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 sama5d3_xplained, sam9x5cm, sama5d2_ptc_ek and sama5d4_xplained nand flashes have a common memory map. Even the nand memory partitions to match our nand flash map available at: http://www.at91.com/linux4sam/pub/Linux4SAM/SambaSubsections//demo_nandflash_map_lnx4sam5x.png Signed-off-by: Tudor Ambarus --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts index 02c1d2958d78..322a744e4363 100644 --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts @@ -297,12 +297,17 @@ bootloader@40000 { label = "bootloader"; - reg = <0x40000 0x80000>; + reg = <0x40000 0xc0000>; }; - bootloaderenv@c0000 { + bootloaderenvred@100000 { + label = "bootloader env redundant"; + reg = <0x100000 0x40000>; + }; + + bootloaderenv@140000 { label = "bootloader env"; - reg = <0xc0000 0xc0000>; + reg = <0x140000 0x40000>; }; dtb@180000 { From patchwork Tue Oct 2 13:20:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 10623701 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5411113BB for ; Tue, 2 Oct 2018 13:35:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5413B28992 for ; Tue, 2 Oct 2018 13:35:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 484F7289CE; Tue, 2 Oct 2018 13:35:54 +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_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 D1EE428992 for ; Tue, 2 Oct 2018 13:35: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: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=M1Win7rJXRqsDtZcUOAag+Pl7e6PFukj8jH4J8/I3yU=; b=QWQic0wu2zYeJV HRdaMWwv8FFEo+HvhuT1w0IpupFutI+bleJWA+DSWPQ+dOfviahbiMCntHze3ClFTsaRinsmaxkYk Gvq2UvLOWBIdBQP1JfBHOFDq/CeiAVHRt2BOgJGUWxfVyZ1kGMw2H2waTPX6GmO3LBfF+JG4siu7B 9IyB/tPTSILvlfqBXU6EUJKCt4Hu1oFZ6KLjmYwTANaQnaR5+k+LAwAMwY3C7PXGmwFDkFaDuXTQ6 sAerNl2jUPG1OA/WbpayevJ9WKPrS2GIVnvOCMBJonSZRl3VLVzg4o9oWZz4ZgWdvrMkqkdd1QiGV Aii4hGbIq7Rh+QfkK43g==; 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 1g7Kq3-0003kE-Pb; Tue, 02 Oct 2018 13:35:47 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7Knj-0000UF-JE for linux-arm-kernel@bombadil.infradead.org; Tue, 02 Oct 2018 13:33:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6SydvcWP4l2cN4GWF6pb2ngKlyBreDOrz97RQQhVZYI=; b=SYQfpith/qw7mTGCkoAKGFO93 ALUYMv73ZnjPN8JrrlNqxsozfMzlLBDkoDWvfIqlf/6hVPghyCmKRtEwWqRBQWJ1G5sFNR4bf+fjc b8Jztcw3NBi8FJh0UQ4bNZLR4Cf0NfiWCOZFhY7ayFOaZKlEUfXPr5i5IMMiY4LqODj+oIsZMyfKE TW+w3EENI1BfxjJ+V07HPT/4coqEmGTMKUkKusuIBzVKLnDGWR5LY64HXFJLPeDojlyaiRy/cPXi8 wLASVUf9YepLNFSp62kHtXPalBkDqZnd2dZetjMflkjn8gGPH+fWXQYZIEOq/O1JzWvTKMwoI2WsX RyjZ0aiUg==; Received: from esa5.microchip.iphmx.com ([216.71.150.166]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7Kby-0003w2-Qo for linux-arm-kernel@lists.infradead.org; Tue, 02 Oct 2018 13:21:16 +0000 X-IronPort-AV: E=Sophos;i="5.54,332,1534834800"; d="scan'208";a="18815649" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 02 Oct 2018 06:21:02 -0700 Received: from localhost.localdomain.com (10.10.76.4) by chn-sv-exch05.mchp-main.com (10.10.76.106) with Microsoft SMTP Server id 14.3.352.0; Tue, 2 Oct 2018 06:21:02 -0700 From: Tudor Ambarus To: , , , , , , , Subject: [PATCH 4/4] ARM: dts: at91: sama5d4_xplained: even nand memory partitions Date: Tue, 2 Oct 2018 16:20:38 +0300 Message-ID: <20181002132038.27189-5-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20181002132038.27189-1-tudor.ambarus@microchip.com> References: <20181002132038.27189-1-tudor.ambarus@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181002_142115_139249_E29747A5 X-CRM114-Status: UNSURE ( 8.80 ) X-CRM114-Notice: Please train this message. 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: Tudor Ambarus 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 sama5d4_xplained, ssam9x5cm, sama5d2_ptc_ek and sama5d3_xplained nand flashes have a common memory map. Even the nand memory partitions to match our NAND flash map available at: http://www.at91.com/linux4sam/pub/Linux4SAM/SambaSubsections//demo_nandflash_map_lnx4sam5x.png Signed-off-by: Tudor Ambarus --- arch/arm/boot/dts/at91-sama5d4_xplained.dts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts index 7d554b9ab27f..43aef56ac74a 100644 --- a/arch/arm/boot/dts/at91-sama5d4_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d4_xplained.dts @@ -232,12 +232,17 @@ bootloader@40000 { label = "bootloader"; - reg = <0x40000 0x80000>; + reg = <0x40000 0xc0000>; }; - bootloaderenv@c0000 { + bootloaderenvred@100000 { + label = "bootloader env redundant"; + reg = <0x100000 0x40000>; + }; + + bootloaderenv@140000 { label = "bootloader env"; - reg = <0xc0000 0xc0000>; + reg = <0x140000 0x40000>; }; dtb@180000 {