]> git.baikalelectronics.ru Git - uboot.git/commit
board: toradex: common: fail gracefully on missing NAND chip
authorStefan Agner <stefan.agner@toradex.com>
Mon, 6 Aug 2018 07:19:18 +0000 (09:19 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 4 Sep 2018 06:47:23 +0000 (08:47 +0200)
commite58c1ccdceb021bfc3a7d0eb8a38e584f76627d9
treec89fddc0ba5fba517e12f7b056c77df06701baef
parent92765463303935e14ac79dbda50414e6dfc0c009
board: toradex: common: fail gracefully on missing NAND chip

If the NAND chip is missing get_nand_dev_by_index() returns NULL. Fail
gracefully in this case.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
board/toradex/common/tdx-cfg-block.c