Hello,
I checked u-boot source code and I could not find similar validation located on this kernel patch. And, reading the source code, it seams that u-boot has support for newer versions of mmc/emmc standards.
I reset u-boot source code, and made the following changes:
=> added #define DEBUG in include/common.h file
=> added #define CONFIG_SUPPORT_EMMC_BOOT in include/configs/mx53loco.h file
=> added #define CONFIG_SYS_FSL_USDHC_NUM 3 in include/configs/mx53loco.h file
When I recompile e reinstall u-boot.imx file on e-mmc, I am able to see the debug messages. But, it hangs at the moment where ESDHC is being initialized.
U-Boot 2015.10-00058-g03ab68e-dirty (Aug 15 2016 - 10:53:52 -0300)
initcall: 77804d10
U-Boot code: 77800000 -> 77850E80 BSS: -> 7789C6B0
initcall: 77804b1c
initcall: 77805220
Board: MX53 LOCO
initcall: 77804d58
I2C: ready
initcall: 77804d40
DRAM: initcall: 77802268
initcall: 77804fc4
Monitor len: 0009C6B0
Ram size: 40000000
Ram top: 90000000
initcall: 77804b44
initcall: 77804cb8
TLB table from 8fff0000 to 8fff4000
initcall: 77804ed8
initcall: 77804c6c
Reserving 625k for U-Boot at: 8ff53000
initcall: 77804c3c
Reserving 10248k for malloc() at: 8f551000
initcall: 77804e74
Reserving 88 Bytes for Board Info at: 8f550fa8
initcall: 77804b5c
initcall: 77804c08
Reserving 224 Bytes for Global Data at: 8f550ec8
initcall: 77804b9c
initcall: 77804ec8
initcall: 77805030
initcall: 77804fa0
initcall: 77804eec
RAM Configuration:
Bank #0: 70000000 512 MiB
Bank #1: b0000000 512 MiB
DRAM: 1 GiB
initcall: 77804b80
New Stack Pointer is: 8f550ea0
initcall: 77804e30
initcall: 77804dc0
Relocation Offset is: 18753000
Relocating to 8ff53000, new gd at 8f550ec8, sp at 8f550ea0
Do you have any idea of what am I doing wrong?
Best regards,
Flavio