Check result of find_mmc_device() before calling mmc_init().
This patch avoid a data abort when the command try to acces
to sd/mmc device deactivated in device tree.
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| cmd_stm32prog.c | ||
| stm32prog.c | ||
| stm32prog.h | ||
| stm32prog_serial.c | ||
| stm32prog_usb.c | ||