]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: toradex: use get_nand_dev_by_index()
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 27 Jun 2017 00:13:06 +0000 (19:13 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Jul 2017 02:41:52 +0000 (22:41 -0400)
commitbf264cd0f61568404e717eb067e3e2e825715531
tree7333e2a04edd0af389a27a28053eee9d8ccf0b94
parent573cc46c652865325690d1559cea221692687872
board: toradex: 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.

Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
board/toradex/colibri_t20/colibri_t20.c
board/toradex/common/tdx-cfg-block.c