]> git.baikalelectronics.ru Git - uboot.git/commit
common: env_nand: use get_nand_dev_by_index()
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 27 Jun 2017 00:12:52 +0000 (19:12 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Jul 2017 02:41:44 +0000 (22:41 -0400)
commit4c02571fa9f61e1edb91e33a8d7b173340fd8f9e
tree33b0c01f0008d67478614e3047fa43b50d1e48d3
parentd8266b456aeb9aeb84d98e93a85d76f20db020f6
common: env_nand: 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>
common/env_nand.c