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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| tdx-cfg-block.c | ||
| tdx-cfg-block.h | ||
| tdx-common.c | ||
| tdx-common.h | ||
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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| tdx-cfg-block.c | ||
| tdx-cfg-block.h | ||
| tdx-common.c | ||
| tdx-common.h | ||