Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4097760pxf; Tue, 23 Mar 2021 02:35:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwp1CcLTjedWO0J8WLal8nRo/jZDTGgyG8sPRG9RQ22hy3Vu/Aqv2LJztYgNvzBKHspYSOc X-Received: by 2002:a17:906:c301:: with SMTP id s1mr3934170ejz.382.1616492145189; Tue, 23 Mar 2021 02:35:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616492145; cv=none; d=google.com; s=arc-20160816; b=UxowiLH9DeXGOOIKy1wrHFqJyyybJszNOEKlsnEB1wJcykbM80lW1cT9Pql9d7LmTc P3wla1N4CCC2ysewHAeP1ls1p1dgUi3TQt6JJjX9Z6YQa9iXPBXr+Nh/EueikpApiHRb n0VDJ69/bH8SknT8VZCi7TOv/Ku1c+c7RI+vDnb2VOiOPQLxkH1rrHtdZH5ucDBJenoI Eq2mAp98+BB+crZjUcSvgK3MnpogBEowEgWt6ULUWUzaKePYAaTgaM/9kmWsYziHav/H QUJ5OC9g+tgimBNh/9o8cW7QXgMICgy33LCpSkiBrkjRGVBK0li2CS8YEXQsTy/f1fVi bDaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=6F6NXGeRgosTfbHvdsjCF0kdLc4P28DODH78gYIvxqw=; b=F2Fj1ZvK+QKa3YMO0jW9BXVWBG1ctw/BLHApC0ZrNWGPRUkT2a1W7LcIRkrZy1XBgN iLe36R2yXIr9zWIcNmejQa58QdzXml+UoDFaNB9Uj4+U80Nkk1ElzsWmevQ3e+P/IH3y 4GdiIpJ+AKEWL/H1sROVd/lRsRbQB2UWcfvG4GtSnzgb7aey6PyLF0gbZgSxjGsOLhCt ul4YPgAS9wKv4RLD1hkQFHPMyOx4zSTHKbeSqwoUPJuAk+sWGZieJG8nScIrsJGjSVm4 /1pM5nhjbjrXCI+al+OH636RCCHjwEe8QlAlDPjvupnk7guQKNryhyb/gpqOcjAyX3pG dTbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=fV2KtRlB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h16si13434310edv.460.2021.03.23.02.35.23; Tue, 23 Mar 2021 02:35:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=fV2KtRlB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229574AbhCWJe3 (ORCPT + 99 others); Tue, 23 Mar 2021 05:34:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbhCWJeF (ORCPT ); Tue, 23 Mar 2021 05:34:05 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8895C061574 for ; Tue, 23 Mar 2021 02:34:05 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id h7so14410510qtx.3 for ; Tue, 23 Mar 2021 02:34:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6F6NXGeRgosTfbHvdsjCF0kdLc4P28DODH78gYIvxqw=; b=fV2KtRlBe3pRC9JBnAglQgxeGSx0SOHh5MWpO6JuKtiJZLRckX7LnmLb53KNDNv9RM HPDkxwKKP2o1egsy8SLrXaRPGJDIpsuIDLHW3bOIXLOnVzF5oDhavnE+q1UQj3aR7Q2B 8VJACUxTUlp86gI985gqvFExbpI/Rr/qVJILE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6F6NXGeRgosTfbHvdsjCF0kdLc4P28DODH78gYIvxqw=; b=sOJks0m5Y8jqDGX+PSkLMDCt7Hk5CsO44jIJo9EnaNqLYiHGCNjzIWWHe9DvCaBLw/ 8JYqX6JkC9BbsV9+Imyw45CHlXbUO2AThgdMffDnzrxTc6mqUs97414gcj7gBZRmq2Nb 8HitPc3Tn/xzeX/7Tm+qWFh1ZA1zldsmkjCjJQGtNnSdU/1p+S9gwcbjG7CbJJtPnmGK EhB2SvRrDsrkUUkrWWJ2+jIXdGxrN9tJPNC3V191CyjynZZfI4pxJTjNHbMy5j6aOZP2 YgKxqk8GvAB+okDXbisxSyNWFPodDhoBR7e2TBeFF8Ayhx6rSi+4zN7ZBLqFLyGuXZMH vREg== X-Gm-Message-State: AOAM531cBIfQywbuyRoi0ACztyVM/y2Stm6QKt1F83chqdIdm8B7qaZ+ WL/Q3RpLRAL43p5zZRFzTqC9JXkNw1uJ6JTCP+xYKCMPs3w= X-Received: by 2002:ac8:5313:: with SMTP id t19mr3518326qtn.148.1616492044872; Tue, 23 Mar 2021 02:34:04 -0700 (PDT) MIME-Version: 1.0 References: <20210213095724.3411058-1-daniel@0x0f.com> <20210215112409.1a755bf0@xps13> <20210215121653.4edd86c4@xps13> <20210322193213.18520b9a@xps13> In-Reply-To: <20210322193213.18520b9a@xps13> From: Daniel Palmer Date: Tue, 23 Mar 2021 18:33:54 +0900 Message-ID: Subject: Re: [PATCH v2] mtd: spinand: add support for Foresee FS35ND01G-S1Y2 To: Miquel Raynal Cc: linux-mtd@lists.infradead.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Miquel, On Tue, 23 Mar 2021 at 03:32, Miquel Raynal wrote: > > I think this shows that the datasheet is right in that the complete 64 > > bytes of "spare area" is usable. > > I have no idea where it puts the ECC though. :) > > Argh, I don't like when hardware tries to be smart. I'm sort of worried that there just isn't any ECC :D > Ok then let's declare no ECC bytes in the OOB layout, I guess it's the > best thing to do... Ok. I think I might add a comment in the code that this is a best guess. > I don't recall the state of the patch which triggered this discussion, > so I guess it's a good time to respin. I'll resend it. I've added support for the 2Gb version in the meantime so I need to resend it either way. Thanks, Daniel