commit | 93d3232d9607669f33a34d3a552b24e1d727413b | [log] [tgz] |
---|---|---|
author | Rostislav Lisovy <lisovy@gmail.com> | Tue Sep 16 14:38:52 2014 +0200 |
committer | Tom Rini <trini@ti.com> | Wed Sep 24 18:30:29 2014 -0400 |
tree | b2f65d29e91a3e34fe6f4466e2fe47e1a317f8e9 | |
parent | 97d5e9d149ca910e1bd20d06a13b9e9cceb0e502 [diff] |
cmd_nand: Update (nand_info_t*)nand after arg_off(_size) call 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@merica.cz>