Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp982700ybe; Thu, 19 Sep 2019 06:59:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwC4mYIIG9S9ZTHChbVRadfm4TsdzRihSxFv0jQogZuMoUCJ57lbCBgj1T6Tk8i2k2AHHC2 X-Received: by 2002:a17:906:7fda:: with SMTP id r26mr6861588ejs.170.1568901542411; Thu, 19 Sep 2019 06:59:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568901542; cv=none; d=google.com; s=arc-20160816; b=fEYCww2wSwNJ0UoCe78LTGv40o5LSJmCJ297vbwd2eBfxv0oCMqPRImcjqDDYGVJiY +czKcNkoI98ZbXad4oTBfVHNJohGNfF/2nOyJT4UtlKaQ1D5sqM1/vWT0qKM5FLBo7ZW f8mViWD0bZaeqJA5bOXkMfo/VrAmS/D9CrkhxsagnNSem5eZEhByfYgiA7kRn4sie6re rfUq1Q2biPsjMREwfpZOamu9QARtHhv0UdGnwJe9iSTiWECqxNHnuoAqPGdzjIHY6N4w eD/bPVPyho/YPHm4lqlxLeka9aOdMRKEQWRvbOk4mBCIYVdk8SNbSxRswhUTnbDLSjZg IPSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=QxL0dZ977dw78OClNHG7jwAWRtplsCXmqaXnuBNeXTU=; b=Jwt8M4zAfsfRLgYpVB30hlyVRRsxVqQIbYUKhNuzMxxPmzy35s4WHbzhL4I4s+2Wb3 ivIj6yhePzGoKtApXC6aL+ei3EeQBvvc0eAqMH2V/Bit0ms01vbmmO8IFg0jyBA4hrqb u8pfBeaEhaZC6pkjYDDpyVjCvfRP51IcfTVhV/AokZAquBASF3nm/tQuahBAISGctGbC QCkxPRRmJTw4dFAynvu8ca8EQQA+cdHvzOqWjlMapUGm9m88HGrDxqTCupwUxDkM56S1 dMIiFwEhApG9sS+i7oWlTpMtksK34KBKtfHkGq8+trGT0/XdE6tk4bHPqR8Ak5FWwNCO cXuw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j10si5194125ede.70.2019.09.19.06.58.38; Thu, 19 Sep 2019 06:59:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390462AbfISNdF (ORCPT + 99 others); Thu, 19 Sep 2019 09:33:05 -0400 Received: from skedge03.snt-world.com ([91.208.41.68]:33392 "EHLO skedge03.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389991AbfISNdE (ORCPT ); Thu, 19 Sep 2019 09:33:04 -0400 Received: from sntmail11s.snt-is.com (unknown [10.203.32.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by skedge03.snt-world.com (Postfix) with ESMTPS id 7AE1667A652; Thu, 19 Sep 2019 15:33:02 +0200 (CEST) Received: from sntmail14r.snt-is.com (10.203.32.184) by sntmail11s.snt-is.com (10.203.32.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 19 Sep 2019 15:33:01 +0200 Received: from sntmail14r.snt-is.com ([fe80::c8f3:eae9:52c2:11a8]) by sntmail14r.snt-is.com ([fe80::c8f3:eae9:52c2:11a8%3]) with mapi id 15.01.1713.004; Thu, 19 Sep 2019 15:33:01 +0200 From: Schrempf Frieder To: Miquel Raynal , Piotr Sroka CC: Richard Weinberger , David Woodhouse , Brian Norris , "Marek Vasut" , Vignesh Raghavendra , "Boris Brezillon" , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] - change calculating of position page containing BBM Thread-Topic: [PATCH] - change calculating of position page containing BBM Thread-Index: AQHVbufQ3Mlqal1wVUGzYKwyTjL7Iacy1HqAgAAEsICAAADoAIAABBqA Date: Thu, 19 Sep 2019 13:33:01 +0000 Message-ID: <7a9675e4-8bcc-f822-6028-f78d0d12c3bf@kontron.de> References: <20190919124139.10856-1-piotrs@cadence.com> <20190919145819.66e74aef@xps13> <20190919151820.2bb8313d@xps13> In-Reply-To: <20190919151820.2bb8313d@xps13> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.9.193] x-c2processedorg: 51b406b7-48a2-4d03-b652-521f56ac89f3 Content-Type: text/plain; charset="utf-8" Content-ID: <88D06F7733C0434CBD14FC36A30B9E8C@snt-world.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-SnT-MailScanner-Information: Please contact the ISP for more information X-SnT-MailScanner-ID: 7AE1667A652.A175D X-SnT-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-SnT-MailScanner-SpamCheck: X-SnT-MailScanner-From: frieder.schrempf@kontron.de X-SnT-MailScanner-To: bbrezillon@kernel.org, computersforpeace@gmail.com, dwmw2@infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, marek.vasut@gmail.com, miquel.raynal@bootlin.com, piotrs@cadence.com, richard@nod.at, vigneshr@ti.com X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTkuMDkuMTkgMTU6MTgsIE1pcXVlbCBSYXluYW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