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>; };