[U-Boot] [U-Boot, v2] mtd: nand: omap_gpmc: Make ready/busy pins configurable

Tom Rini trini at konsulko.com
Fri Mar 6 16:47:02 CET 2015


On Tue, Feb 17, 2015 at 05:08:37PM +0100, Michal Sojka wrote:

> From: Michal Sojka <sojka at merica.cz>
> 
> 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 <sojka at merica.cz>
> Acked-by: Stefan Roese <sr at denx.de>
> Tested-by: Michal Vokáč <michal.vokac at comap.cz>
> 
> Cc: Tom Rini <trini at ti.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20150306/df8dac26/attachment.sig>


More information about the U-Boot mailing list