From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.visioncatalog.de ([217.6.246.34] helo=root.phytec.de) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dEEMN-0002R0-S8 for barebox@lists.infradead.org; Fri, 26 May 2017 12:28:54 +0000 References: <20170414183205.62794-1-mreimer@sdgsystems.com> From: Daniel Schultz Message-ID: <0a3e4049-a2d7-dedb-f22e-7d4b30df8d71@phytec.de> Date: Fri, 26 May 2017 14:28:18 +0200 MIME-Version: 1.0 In-Reply-To: <20170414183205.62794-1-mreimer@sdgsystems.com> Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] mtd: nand_omap_gpmc: fix BCH error correction To: barebox@lists.infradead.org, mreimer@sdgsystems.com SGkgTWF0dCwKCmNvdWxkIHlvdSBnaXZlIG1lIHNvbWUgbW9yZSBpbmZvcm1hdGlvbnMgYWJvdXQg aG93IHlvdSBmaWd1cmVkIG91dCB0aGlzIApwcm9ibGVtIGFuZCBob3cgeW91IHRlc3RlZCBpdD8K ClRoZSBMaW51eCBrZXJuZWwgYW5kIEJhcmVib3ggZGlmZmVycyBhIGxvdCBpbiB0aGlzIGRyaXZl ci4gWW91ciAKY29uZGl0aW9uYWwgYXNzaWdubWVudCBvZiBlY2NzdGVwcyBpcyBmcm9tIHRoZSBv bWFwX2NvcnJlY3RfZGF0YSAKZnVuY3Rpb24sIHdoaWNoIHdpbGwgb25seSBiZSBjYWxsZWQgaWYg SGFtbWluZyBlcnJvciBjb3JyZWN0aW9uIGlzIHVzZWQsIApidXQgQkNIIHVzZXMgZWl0aGVyIG9t YXBfZWxtX2NvcnJlY3RfZGF0YSBvciBuYW5kX2JjaF9jb3JyZWN0X2RhdGEuIApUaGVzZSB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