commit | 8843b6de54812c22145b3a421f0d3734dab4be82 | [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 | 6475e5e024a47b540f26507ab57e8f8b69e9dd4a [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>