]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: jffs2: use get_nand_dev_by_index()
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 27 Jun 2017 00:12:55 +0000 (19:12 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Jul 2017 02:41:46 +0000 (22:41 -0400)
commit1e5125037dd32aebd37e56b9fb9e5231313a521b
tree07d9cb9d0472d82377095b974bc6360ce3cf5663
parent1d052b5a5fb7f577f320dfb98aa6047ad8e9223e
cmd: jffs2: use get_nand_dev_by_index()

As part of preparation for nand DM conversion the new API has been
introduced to remove direct access to nand_info array. So, use it here
instead of accessing to nand_info array directly.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
cmd/jffs2.c