From: Scott Wood Date: Mon, 25 Apr 2011 12:37:38 -0500 Subject: [U-Boot] [PATCH 6/6] EA20: do not use subpage write for NAND In-Reply-To: <4DB12A9E.2040709@denx.de> References: <1302372335-30232-1-git-send-email-sbabic@denx.de> <1302372335-30232-6-git-send-email-sbabic@denx.de> <20110411191647.GC25161@schlenkerla.am.freescale.net> <4DA41EFA.4060402@denx.de> <20110413112453.12670f34@schlenkerla.am.freescale.net> <4DA881B8.2080005@denx.de> <20110415152903.4ee513aa@schlenkerla.am.freescale.net> <4DB12A9E.2040709@denx.de> Message-ID: <20110425123738.5c6d45b3@schlenkerla.am.freescale.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 22 Apr 2011 09:13:34 +0200 Stefano Babic wrote: > The only point is we need that the controller checks the parameters > after the tail part, as the tail part scans the chip and sets its > options, as the SUBPAGE flag. We could add a pre_adjust() and > post_adjust() functions to be called after the head and tail part of the > nand_scan(). This is what the tail function is supposed to be for. I don't see where NAND_NO_AUTOINCR or NAND_NO_SUBPAGE_WRITE are called in the head (nand_scan_ident/nand_get_flash_type) functions. I only see NAND_BUSWIDTH_16 and NAND_4PAGE_ARRAY checked there. -Scott