From: Tom Rini Date: Fri, 6 Mar 2015 10:47:02 -0500 Subject: [U-Boot] [U-Boot, v2] mtd: nand: omap_gpmc: Make ready/busy pins configurable In-Reply-To: <1424189317-29655-1-git-send-email-sojkam1@fel.cvut.cz> References: <1424189317-29655-1-git-send-email-sojkam1@fel.cvut.cz> Message-ID: <20150306154702.GX25373@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Feb 17, 2015 at 05:08:37PM +0100, Michal Sojka wrote: > From: Michal Sojka > > Commit fb384c4720ca7496775d6578f184bf628db73456 introduced the use of > WAIT0 pin for determining whether the NAND is ready or not. This only > works if all NAND chips are connected to WAIT0. If some chips are > connected to the other available pin WAIT1, nand_wait() does not really > wait and prints a WARN_ON message. > > This patch allows the board to provide configuration of which chip is > connected to which WAITx signal. For example, one can define in > include/configs/foo.h: > > #define CONFIG_NAND_OMAP_GPMC_WSCFG 0,0,1,1 > > This would mean that chips using to CS0 and 1 are connected to WAIT0 and > chips with CS2 and 3 are connected to WAIT1. > > Signed-off-by: Michal Sojka > Acked-by: Stefan Roese > Tested-by: Michal Vok?? > > Cc: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: