diff options
author | Rostislav Lisovy <lisovy@gmail.com> | 2014-09-16 12:38:52 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-24 22:30:29 (GMT) |
commit | 93d3232d9607669f33a34d3a552b24e1d727413b (patch) | |
tree | b2f65d29e91a3e34fe6f4466e2fe47e1a317f8e9 /board/ttcontrol | |
parent | 97d5e9d149ca910e1bd20d06a13b9e9cceb0e502 (diff) | |
download | u-boot-fsl-qoriq-93d3232d9607669f33a34d3a552b24e1d727413b.tar.xz |
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 'board/ttcontrol')
0 files changed, 0 insertions, 0 deletions