Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756201AbcK3GT0 (ORCPT ); Wed, 30 Nov 2016 01:19:26 -0500 Received: from condef004-v.nifty.com ([210.131.4.241]:53108 "EHLO condef004-v.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751529AbcK3GTP (ORCPT ); Wed, 30 Nov 2016 01:19:15 -0500 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com uAU6EVev008950 X-Nifty-SrcIP: [209.85.161.174] MIME-Version: 1.0 In-Reply-To: <20161127171406.327c4d6e@bbrezillon> References: <1480183585-592-1-git-send-email-yamada.masahiro@socionext.com> <1480183585-592-21-git-send-email-yamada.masahiro@socionext.com> <20161127171406.327c4d6e@bbrezillon> From: Masahiro Yamada Date: Wed, 30 Nov 2016 15:14:31 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 20/39] mtd: nand: denali_dt: enable HW_ECC_FIXUP capability for DT platform To: Boris Brezillon Cc: linux-mtd@lists.infradead.org, Linux Kernel Mailing List , Marek Vasut , Brian Norris , Richard Weinberger , David Woodhouse , Cyrille Pitchen Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 657 Lines: 22 Hi Boris, 2016-11-28 1:14 GMT+09:00 Boris Brezillon : > On Sun, 27 Nov 2016 03:06:06 +0900 > Masahiro Yamada wrote: > >> The denali_dt.c was split out by Altera for the SOCFPGA port. The >> Denali IP on SOCFPGA incorporates the hardware ECC fixup feature. >> Newer versions are very likely to support it. So, it should be OK >> to set DENALI_CAPS_HW_ECC_FIXUP for all DT platforms. > > Seems like a bad idea. What's the problem with setting this flag in the > data->caps definition of each revision? No problem. I will follow your suggestion in v2. -- Best Regards Masahiro Yamada