On Wed, Feb 02, 2011 at 04:11:29PM +0100, Michael Trimarchi wrote: > Hi, > > this patch fix the support for CE don't care nand > > Michael Trimarchi
Please read http://www.denx.de/wiki/U-Boot/Patches and follow the format therein -- don't use attachments. > commit 0cb23ef858407a7a9de6e353e08394637c518c89 > Author: Michael Trimarchi <mich...@evidence.eu.com> > Date: Wed Feb 2 14:24:21 2011 +0100 > > Fix the CE for the NAND don't care > > Signed-off-by: Michael Trimarchi <mich...@evidence.eu.com> The changelog needs to be more descriptive. What is "NAND don't care"? What is broken? > diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c > index ab8bbb3..bda117a 100644 > --- a/drivers/mtd/nand/atmel_nand.c > +++ b/drivers/mtd/nand/atmel_nand.c > @@ -249,8 +249,13 @@ static void at91_nand_hwcontrol(struct mtd_info *mtd, > if (ctrl & NAND_ALE) > IO_ADDR_W |= CONFIG_SYS_NAND_MASK_ALE; > > + /* > + * Nand CS don't care doesn't need the enable pin > + */ > +#ifdef CONFIG_SYS_NAND_ENABLE_PIN > at91_set_gpio_value(CONFIG_SYS_NAND_ENABLE_PIN, > !(ctrl & NAND_NCE)); > +#endif New CONFIG symbols need to be documented, and this particular one should probably be less generic. -Scott _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot