[U-Boot] [PATCH] nand: move board_nand_init to nand.h

Scott Wood scottwood at freescale.com
Thu Dec 11 20:29:44 CET 2008


On Sat, Dec 06, 2008 at 02:40:55AM -0500, Mike Frysinger wrote:
> Rather than putting the function prototype for board_nand_init() in the one
> place where it gets called, put it into nand.h so that every place that also
> defines it gets the prototype.  Otherwise, errors can go silently unnoticed
> such as using the wrong return value (void rather than int) when defining
> the function.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>

Applied to u-boot-nand-flash/next

-Scott


More information about the U-Boot mailing list