summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRostislav Lisovy <lisovy@gmail.com>2014-09-16 12:38:52 (GMT)
committerTom Rini <trini@ti.com>2014-09-24 22:30:29 (GMT)
commit93d3232d9607669f33a34d3a552b24e1d727413b (patch)
treeb2f65d29e91a3e34fe6f4466e2fe47e1a317f8e9 /include
parent97d5e9d149ca910e1bd20d06a13b9e9cceb0e502 (diff)
downloadu-boot-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 'include')
0 files changed, 0 insertions, 0 deletions