diff options
author | Rostislav Lisovy <lisovy@gmail.com> | 2014-09-16 14:38:52 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-24 18:30:29 -0400 |
commit | 93d3232d9607669f33a34d3a552b24e1d727413b (patch) | |
tree | b2f65d29e91a3e34fe6f4466e2fe47e1a317f8e9 /drivers/i2c | |
parent | 97d5e9d149ca910e1bd20d06a13b9e9cceb0e502 (diff) | |
download | u-boot-imx-93d3232d9607669f33a34d3a552b24e1d727413b.zip u-boot-imx-93d3232d9607669f33a34d3a552b24e1d727413b.tar.gz u-boot-imx-93d3232d9607669f33a34d3a552b24e1d727413b.tar.bz2 |
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>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions