]> git.ipfire.org Git - people/ms/u-boot.git/commit
board: BuR: use get_nand_dev_by_index()
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 27 Jun 2017 00:13:05 +0000 (19:13 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Jul 2017 02:41:52 +0000 (22:41 -0400)
commit573cc46c652865325690d1559cea221692687872
tree845b1c58552a3ffa8fef46926530855c24decc7d
parent2ecba112d79c49b9ca21cf712132c9746a6f4216
board: BuR: 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>
Reviewed-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/BuR/common/common.c