Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp980212ybe; Thu, 19 Sep 2019 06:56:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwB+MEY69q88sOMe7d56QoJyWdldtENF0+BEoxNZfMRQzVRpmT7NIYypiVuLQCERsvCYP0r X-Received: by 2002:a17:906:f0c9:: with SMTP id dk9mr14252939ejb.261.1568901397821; Thu, 19 Sep 2019 06:56:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568901397; cv=none; d=google.com; s=arc-20160816; b=BaBMMIW6Yx9KF6JK6XRoKinw7kVTDp0cNNswQPrs8bLwdpN2tTJZc+ZJ0dmlR18Fsl DmcsGK4L+td69ma7w5TtQcqkFAxhxaqvwKUoOO0tX5cCEoWln4bUaPpTeWWSrc/LP4rN +kRQ7p93NH1n0G5ou1LOHecDJMKxctHS9cQ32TyVMYzowCVss74sAAd8vyfs+aNBWiP9 ZYicQtD3g0X3zSWqKfUZKyyhOIfCP4KBSbHlmaRYWjWNYBZGG2CUZiFglXD3nUiNJEON 7i7qWPSuszdUNwtwAC4Ko2gKisYA+u8M4dITovyTnAg+czyFwM+7NNZpcckmtw1dfI8d gEGg== 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=d3nTIQoNOijFugpYVR4t34KU5cdc4THvfqkdHIGEtBY=; b=WTY4hMVrjZ6Tf2ZC9t9vvJFeWrm6QOSL6PM2CjO7wXpREVqQKcteJrHu7FaLeW1433 E8N0yJmSysiOCq85aWllhJTFY6NXmIoVgJwrbfnai/eOGAztcHWAxE3c4yEOZzhH3yKo hwDjaDlXEtN0N7WmZ8ZPS9CqEKgK2OAAjvihx5AkgOSMDIk75cav3abE/lQG5XA62Foi XXcYth+KuT+nPuLibqsvCSDeOxvH90oOhMSHYaSd0pyKCnyP7PEOAJOwpB5S2Sva5zWn VxcvEIQsPjercHDBnn9ZcX2IO6QfnaVHUc4zWH8a+qDa4vw6FdfmnHNi3zU9SXyiWb6m +oGw== 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 f41si5095671edf.113.2019.09.19.06.56.14; Thu, 19 Sep 2019 06:56:37 -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 S1732327AbfISNPP (ORCPT + 99 others); Thu, 19 Sep 2019 09:15:15 -0400 Received: from skedge04.snt-world.com ([91.208.41.69]:37508 "EHLO skedge04.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732319AbfISNPP (ORCPT ); Thu, 19 Sep 2019 09:15:15 -0400 Received: from sntmail10s.snt-is.com (unknown [10.203.32.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by skedge04.snt-world.com (Postfix) with ESMTPS id 7C16867A7D5; Thu, 19 Sep 2019 15:15:09 +0200 (CEST) Received: from sntmail14r.snt-is.com (10.203.32.184) by sntmail10s.snt-is.com (10.203.32.183) 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:15:09 +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:15:09 +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: AQHVbufQ3Mlqal1wVUGzYKwyTjL7Iacy1HqAgAAEsIA= Date: Thu, 19 Sep 2019 13:15:08 +0000 Message-ID: References: <20190919124139.10856-1-piotrs@cadence.com> <20190919145819.66e74aef@xps13> In-Reply-To: <20190919145819.66e74aef@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: <8DAB28686304E940B71E62AFB0404D64@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: 7C16867A7D5.A24C5 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 T24gMTkuMDkuMTkgMTQ6NTgsIE1pcXVlbCBSYXluYWwgd3JvdGU6DQo+IEhpIFBpb3RyLA0KPiAN Cj4gUGlvdHIgU3Jva2EgPH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