u-boot/arch/arm/mach-stm32mp/include/mach
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
..
bsec.h arm: stm32mp: protect DBGMCU_IDC access with BSEC 2020-07-07 16:01:23 +02:00
ddr.h ram: stm32mp1: increase vdd2_ddr: buck2 for 32bits LPDDR 2020-03-24 14:20:50 +01:00
gpio.h arm: stm32: cleanup arch gpio.h 2020-10-21 18:12:20 +02:00
stm32.h stm32mp: use device sequence number in boot_instance variable 2021-07-16 09:28:46 +02:00
stm32mp1_smc.h arm: stm32mp: improve the error message for smc 2020-03-24 14:05:35 +01:00
stm32prog.h stm32mp: stm32prog: adapt the MTD partitions 2020-05-14 09:02:12 +02:00
sys_proto.h arm: stm32mp: add weak function to save vddcore 2020-07-07 16:01:23 +02:00