[U-Boot] cmd_nand: Update (nand_info_t*)nand after arg_off(_size) call

Tom Rini trini at ti.com
Thu Sep 25 16:45:59 CEST 2014


On Tue, Sep 16, 2014 at 02:38:52PM +0200, Rostislav Lisovy wrote:


> The arg_off() and arg_off_size() update the 'current NAND
> device' variable (dev). This is then used when assigning the
> (nand_info_t*)nand value. Place the assignment after the
> arg_off(_size) calls to prevent using incorrect (nand_info_t*)
> nand value.
> 
> Signed-off-by: Rostislav Lisovy <lisovy at merica.cz>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140925/5e79e86a/attachment.pgp>


More information about the U-Boot mailing list