Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751924AbbHSBJj (ORCPT ); Tue, 18 Aug 2015 21:09:39 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:32801 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750928AbbHSBJh (ORCPT ); Tue, 18 Aug 2015 21:09:37 -0400 Date: Tue, 18 Aug 2015 18:09:34 -0700 From: Brian Norris To: Antoine Tenart Cc: ezequiel.garcia@free-electrons.com, dwmw2@infradead.org, robert.jarzmik@free.fr, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: pxa3xx_nand: add a default chunk size Message-ID: <20150819010934.GV60523@google.com> References: <1439888350-9253-1-git-send-email-antoine.tenart@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1439888350-9253-1-git-send-email-antoine.tenart@free-electrons.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 920 Lines: 21 On Tue, Aug 18, 2015 at 10:59:10AM +0200, Antoine Tenart wrote: > When keeping the configuration set by the bootloader (by using > the marvell,nand-keep-config property), the pxa3xx_nand_detect_config() > function is called and set the chunk size to 512 as a default value if > NDCR_PAGE_SZ is not set. > > In the other case, when not keeping the bootloader configuration, no > chunk size is set. Fix this by adding a default chunk size of 512. > > Fixes: 70ed85232a93 ("mtd: nand: pxa3xx: Introduce multiple page I/O > support") > > Signed-off-by: Antoine Tenart > Acked-by: Robert Jarzmik Applied to l2-mtd.git -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/