u-boot/board/st/stm32mp1
Patrick Delaunay 3c1057c548 stm32mp: use device sequence number in boot_instance variable
Use the device sequence number in boot_instance variable
and no more the SDMMC instance provided by ROM code/TF-A.

After this patch we don't need to define the mmc alias in
device tree, for example:
  mmc0 = &sdmmc1;
  mmc1 = &sdmmc2;
  mmc2 = &sdmmc3;
to have a correct mapping between the ROM code boot device =
"${boot_device}${boot_instance}" and the MMC device in U-Boot.

With this patch the 'mmc0' device (used in mmc commands) is
always used when only one instance sdmmc is activated in device
tree, even if it is only the sdmmc2 or sdmmc3.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2021-07-16 09:28:46 +02:00
..
extlinux.conf stm32mp1: add example files for FIT generation 2019-08-27 11:19:23 +02:00
fit_copro_kernel_dtb.its board: st: stm32mp1: update load address for FIT examples 2020-11-25 14:27:19 +01:00
fit_kernel_dtb.its board: st: stm32mp1: update load address for FIT examples 2020-11-25 14:27:19 +01:00
Kconfig stm32mp1: split board and SOC support for STM32MP15x family 2020-01-17 13:58:27 +01:00
MAINTAINERS Correct U-Boot upstream repository 2021-02-28 13:57:30 -05:00
Makefile board: stm32mp1: move the function board_debug_uart_init in spl.c 2020-07-07 16:01:23 +02:00
README doc: add board documentation for stm32mp1 2020-03-02 09:41:32 +01:00
spl.c board: stm32mp1: move the function board_debug_uart_init in spl.c 2020-07-07 16:01:23 +02:00
stm32mp1.c stm32mp: use device sequence number in boot_instance variable 2021-07-16 09:28:46 +02:00

see doc/board/st/stm32mp1.rst