Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp325134imu; Fri, 7 Dec 2018 01:32:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/XcUJd42ddjDpIDc0i+7YrfmKue9pxk7kcblpnv3wDnG1vmVWR1ycrZbWMtquGp6GvMrwPB X-Received: by 2002:a17:902:4c85:: with SMTP id b5mr1393155ple.226.1544175170743; Fri, 07 Dec 2018 01:32:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544175170; cv=none; d=google.com; s=arc-20160816; b=Y6l1zKPphPR3PZOJuXvvcKKUOIlySqjf8FBH9D3vGnyRlqHkYAVtDcTmurB+Zgo2nZ IVu1RFIC06E3VodpkolYYAV4Z62UgVmBeoW2Vn44CVNO+EBJiW3kZpoclVMQrsIJLAIf OjfTgRFNwg8Oni7L/Z4QRzIqAOqe48WE7ESo1t/iwYIXz0nQub7JNrNSI3ACwUGznbHR myX/OF85OD1TlJzrgwPxoYqYZMs9HHiGEYPQhJ+yjD6D3Sbwckss8TORzbmGEHv6v0pL gBE8WAjbkHoUdm/08hrE+20PSeM5jUeIk9qBlj3tgpFkcLac3TH5mqpW/ug3Le62mydG 2Cow== 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=avMh2kF3RZpQqd9mmtaLNkXimZ9nU2hetGyZ0B8h00w=; b=BM33tleFujmmfHZb3Z8N3DKzfJzrsIloIKJTUGY7h28zEBBUi/4J5vpq8nME/eAL9Y LkFQr1nTK+Tcz9yEtQ3PYcyV6Fz/3yGthvTXalBxzuBh9oj6LuzJi1q22C3ATX+3actg 3TiGTtP7UgyMvBgXub92yb6u/q5MKjKpLQ21bZyXqdYSCmJTHPWi3oK92A87gfAd21cZ rrH8s65XSnSXlAXFJYwNLqHDVsFD0BQpUXTOfgdiAdtPjIrwKshsC7Z6pfY7bd9zgZuz c+8gXHB1D6r5DgLXUXefBZA0nHaNcZ5JPd4V9ciWx8cmOerl94/Zi8yYo4OoHFFZPLx1 tHaQ== 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 j24si2384555pgh.362.2018.12.07.01.32.34; Fri, 07 Dec 2018 01:32:50 -0800 (PST) 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 S1726011AbeLGJbv (ORCPT + 99 others); Fri, 7 Dec 2018 04:31:51 -0500 Received: from skedge03.snt-world.com ([91.208.41.68]:38200 "EHLO skedge03.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725976AbeLGJbv (ORCPT ); Fri, 7 Dec 2018 04:31:51 -0500 Received: from sntmail12r.snt-is.com (unknown [10.203.32.182]) (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 4F7E967A1AA; Fri, 7 Dec 2018 10:31:48 +0100 (CET) Received: from sntmail12r.snt-is.com (10.203.32.182) by sntmail12r.snt-is.com (10.203.32.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1466.3; Fri, 7 Dec 2018 10:31:47 +0100 Received: from sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305]) by sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305%5]) with mapi id 15.01.1466.003; Fri, 7 Dec 2018 10:31:47 +0100 From: Schrempf Frieder To: Miquel Raynal CC: "linux-kernel@vger.kernel.org" , "peron.clem@gmail.com" , Boris Brezillon , Richard Weinberger , "David Woodhouse" , Brian Norris , Marek Vasut , "linux-mtd@lists.infradead.org" Subject: Re: [PATCH v3] mtd: spinand: Fix ECC status and OOB layout for Toshiba TC58CVG2S0H Thread-Topic: [PATCH v3] mtd: spinand: Fix ECC status and OOB layout for Toshiba TC58CVG2S0H Thread-Index: AQHUit5r+i/3AIRP0kKtRCmx1SJH2qVy32SAgAAZdIA= Date: Fri, 7 Dec 2018 09:31:47 +0000 Message-ID: <8e70737f-0780-d607-eadc-f6435288f660@kontron.de> References: <1543823821-18352-1-git-send-email-frieder.schrempf@kontron.de> <20181207090041.6b8d9731@xps13> In-Reply-To: <20181207090041.6b8d9731@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.43] x-c2processedorg: 51b406b7-48a2-4d03-b652-521f56ac89f3 Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-SnT-MailScanner-Information: Please contact the ISP for more information X-SnT-MailScanner-ID: 4F7E967A1AA.AED86 X-SnT-MailScanner: Found to be clean X-SnT-MailScanner-SpamCheck: X-SnT-MailScanner-From: frieder.schrempf@kontron.de X-SnT-MailScanner-To: boris.brezillon@bootlin.com, computersforpeace@gmail.com, dwmw2@infradead.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, marek.vasut@gmail.com, miquel.raynal@bootlin.com, peron.clem@gmail.com, richard@nod.at X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTWlxdcOobCwNCg0KT24gMDcuMTIuMTggMDk6MDAsIE1pcXVlbCBSYXluYWwgd3JvdGU6DQo+ IE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