diff options
| author | Stefan Agner <stefan.agner@toradex.com> | 2018-08-06 09:19:18 +0200 |
|---|---|---|
| committer | Stefano Babic <sbabic@denx.de> | 2018-09-04 08:47:23 +0200 |
| commit | bc53fb19fef1afbd7b328ea72de5be313016f585 (patch) | |
| tree | c89fddc0ba5fba517e12f7b056c77df06701baef /include/linux/linux_string.h | |
| parent | 57b620255e726fae38e5e2ac5c7dec4b9011ffca (diff) | |
| download | u-boot-bc53fb19fef1afbd7b328ea72de5be313016f585.tar.gz u-boot-bc53fb19fef1afbd7b328ea72de5be313016f585.tar.xz u-boot-bc53fb19fef1afbd7b328ea72de5be313016f585.zip | |
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>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
