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 {