commit | bc53fb19fef1afbd7b328ea72de5be313016f585 | [log] [tgz] |
---|---|---|
author | Stefan Agner <stefan.agner@toradex.com> | Mon Aug 06 09:19:18 2018 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Tue Sep 04 08:47:23 2018 +0200 |
tree | c89fddc0ba5fba517e12f7b056c77df06701baef | |
parent | 57b620255e726fae38e5e2ac5c7dec4b9011ffca [diff] |
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>