cmd: bootm: use get_nand_dev_by_index()
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 27 Jun 2017 00:12:54 +0000 (19:12 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Jul 2017 02:41:45 +0000 (22:41 -0400)
commitf370b515108987a14e8fa5bfafe25a4f26e1d298
tree1d7f5f8fd4748fc73699eaec56058fed1d37a748
parent16520189918ef7cbebbb3022e0674fd7e365ab03
cmd: bootm: 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/bootm.c