arm-trusted-firmware/plat/st/common
Uwe Kleine-König 9492b391a3 fix(st): don't try to read boot partition on SD cards
When trying to boot from an SD card with STM32MP_EMMC_BOOT enabled,
booting fails with:

	ERROR:   Got unexpected value for active boot partition, 0
	ASSERT: plat/st/common/bl2_stm32_io_storage.c:285

because SD cards don't provide a boot partition. So only try reading
from such a partition when booting from eMMC.

Fixes: 214c8a8d08 ("feat(plat/st): add STM32MP_EMMC_BOOT option")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Change-Id: I354b737a3ae3ea577e83dfeb7096df22275d852d
2022-03-11 10:39:57 +01:00
..
include feat(st): add early console in BL2 2022-02-03 09:18:02 +01:00
bl2_io_storage.c feat(stm32mp1): add support for reading the metadata partition 2022-01-27 18:09:02 +05:30
bl2_stm32_io_storage.c fix(st): don't try to read boot partition on SD cards 2022-03-11 10:39:57 +01:00
stm32cubeprogrammer_uart.c feat(plat/st): add STM32CubeProgrammer support on UART 2021-12-03 09:26:11 +01:00
stm32cubeprogrammer_usb.c fix(plat/st): remove double space 2021-11-03 08:50:37 +01:00
stm32mp_auth.c feat(st): disable authentication based on part_number 2022-02-01 13:52:40 +01:00
stm32mp_common.c refactor(st): configure UART baudrate 2022-03-04 14:55:18 +01:00
stm32mp_dt.c feat(st): get pin_count from the gpio-ranges property 2022-02-01 16:47:27 +01:00
stm32mp_fconf_io.c feat(stm32mp1): add support for reading the metadata partition 2022-01-27 18:09:02 +05:30
usb_dfu.c feat(plat/st): add a USB DFU stack 2021-10-29 16:43:36 +02:00