Re: [U-Boot] [PATCH 2/4] [v2] nand_util: convert nand_write_skip_bad() to flags

2011-05-24 Thread Detlev Zundel
Hi Ben, In a future commit the behaviour of nand_write_skip_bad() will be further extended. Convert the only flag currently passed to the nand_write_ skip_bad() function to a bitfield of only one allocated member. This should avoid an explosion of int's at the end of the parameter list or

Re: [U-Boot] [PATCH 2/4] [v2] nand_util: convert nand_write_skip_bad() to flags

2011-05-24 Thread Ben Gardiner
Hi Detlev, On Tue, May 24, 2011 at 9:17 AM, Detlev Zundel d...@denx.de wrote: --- Changes since v1:  * rebased to HEAD of git://git.denx.de/u-boot-nand-flash.git : ff7b4a0    (env_nand: zero-initialize variable nand_erase_options)  * renamed the flag from WITH_OOB to WITH_YAFFS_OOB (Detlev

[U-Boot] [PATCH 2/4] [v2] nand_util: convert nand_write_skip_bad() to flags

2011-05-19 Thread Ben Gardiner
In a future commit the behaviour of nand_write_skip_bad() will be further extended. Convert the only flag currently passed to the nand_write_ skip_bad() function to a bitfield of only one allocated member. This should avoid an explosion of int's at the end of the parameter list or the ambiguous