board: ronetix: use get_nand_dev_by_index()
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 27 Jun 2017 00:13:04 +0000 (19:13 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Jul 2017 02:41:51 +0000 (22:41 -0400)
commit2ecba112d79c49b9ca21cf712132c9746a6f4216
tree1ea44acc8396c914d3b88acd7616cd3fb609dbab
parent31f8d39e2a6711b44ef6ec5fc1923f67ddbf1de5
board: ronetix: 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>
board/ronetix/pm9261/pm9261.c
board/ronetix/pm9263/pm9263.c