From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com ([143.182.124.37]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UtZIp-0002g6-Uz for linux-mtd@lists.infradead.org; Mon, 01 Jul 2013 08:17:40 +0000 Message-ID: <1372666588.22014.43.camel@sauron.fi.intel.com> Subject: Re: [PATCH v3 1/4] mtd:nand:omap2: clean-up BCHx_HW and BCHx_SW ECC configurations in device_probe From: Artem Bityutskiy To: Pekon Gupta Date: Mon, 01 Jul 2013 11:16:28 +0300 In-Reply-To: <1372010299-30141-2-git-send-email-pekon@ti.com> References: <1372010299-30141-1-git-send-email-pekon@ti.com> <1372010299-30141-2-git-send-email-pekon@ti.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: b-cousson@ti.com, arnd@arndb.de, tony@atomide.com, jp.francois@cynove.com, balbi@ti.com, linux-mtd@lists.infradead.org, linux-omap@vger.kernel.org Reply-To: artem.bityutskiy@linux.intel.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Pekon, On Sun, 2013-06-23 at 23:28 +0530, Pekon Gupta wrote: > +---------------------------------------+---------------+---------------+ > | ECC scheme |ECC calculation|Error detection| > +---------------------------------------+---------------+---------------+ > |OMAP_ECC_HAMMING_CODE_DEFAULT |S/W |S/W | > |OMAP_ECC_HAMMING_CODE_HW |H/W (GPMC) |S/W | > |OMAP_ECC_HAMMING_CODE_HW_ROMCODE |H/W (GPMC) |S/W | > +---------------------------------------+---------------+---------------+ > |(requires CONFIG_MTD_NAND_ECC_BCH) | | | > |OMAP_ECC_BCH8_CODE_HW_DETECTION_SW |H/W (GPMC) |S/W | > +---------------------------------------+---------------+---------------+ > |(requires CONFIG_MTD_NAND_OMAP_BCH) | | | > |OMAP_ECC_BCH8_CODE_HW |H/W (GPMC) |H/W (ELM) | > +---------------------------------------+---------------+---------------+ This is a nice table, and you are doing very good job clearly classifying what is going on. I'd suggest to also put stuff like this to comments in the code. > This patch > - separates the configurations for various ECC schemes. > - fixes dependency issues based on Kconfig options. > - cleans up redundant code > > Signed-off-by: Pekon Gupta This does not apply to l2-mtd.git, could you please re-base? -- Best Regards, Artem Bityutskiy