commit | 2cf7ab71d220b5232187ef6cd03abac6178481d5 | [log] [tgz] |
---|---|---|
author | Grygorii Strashko <grygorii.strashko@ti.com> | Mon Jun 26 19:12:52 2017 -0500 |
committer | Tom Rini <trini@konsulko.com> | Tue Jul 11 22:41:44 2017 -0400 |
tree | 33b0c01f0008d67478614e3047fa43b50d1e48d3 | |
parent | 7b670ccf9a691fdde78025e45b00b68fe2956166 [diff] |
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>