u-boot/arch/arm/mach-stm32mp/cmd_stm32prog
Patrick Delaunay ded48bec05 arm: stm32mp: stm32prog: check result of find_mmc_device
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: aff4c5dd82 ("stm32mp: stm32prog: add MMC device")
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
2020-07-28 17:43:46 +02:00
..
cmd_stm32prog.c arm: cmd_stm32prog: Fix the CONFIG_IS_ENABLED() usage 2020-07-09 12:33:24 +08:00
Makefile stm32mp: stm32prog: add serial link support 2020-05-14 09:02:12 +02:00
stm32prog.c arm: stm32mp: stm32prog: check result of find_mmc_device 2020-07-28 17:43:46 +02:00
stm32prog.h stm32mp: stm32prog: add support of RAM target 2020-05-14 09:02:12 +02:00
stm32prog_serial.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
stm32prog_usb.c arm: stm32mp: stm32prog: add "Device Name" in iproduct during DFU USB enumeration 2020-07-07 16:01:23 +02:00