Thanks for your answer.
It's a bug on the U-Boot 2015.01-rc2.
With U-Boot 2015.01-rc3 it works :smileyhappy: !
There were no modification on SPL_POWER_INIT.c and SPL_MEM_INIT.c between rc2 and rc3 so all my modifications are still good.
This I my debug output :
HTLLC
Configured for 5v only power source.
Valid 5V detected
sz =08000000
LLC
U-Boot 2015.01-rc3 (Dec 12 2014 - 15:26:45)
CPU: Freescale i.MX28 rev1.2 at 454 MHz
BOOT: SSP SD/MMC #0, 3V3
SPI: ready
DRAM: 128 MiB
NAND: 0 MiB
MMC: MXS MMC: 0
MMC0: Command 8 timeout (status 0xe0284020)
MMC0: Command 55 timeout (status 0xe0384020)
MMC0: Command 1 timeout (status 0xe02c4020)
Card did not respond to voltage select!
MMC init failed
Using default environment
Video: MXSFB: 'videomode' variable not set!
In: serial
Out: serial
Err: serial
Net: FEC0 [PRIME], FEC1
Warning: FEC1 using MAC address from net device
Hit any key to stop autoboot: 0
=>
Now, the boot fails during mxs_mem_get_size() function. Especially on this line : sz = get_ram_size((long *)PHYS_SDRAM_1, PHYS_SDRAM_1_SIZE);
If I force sz to be 512Mib (so replace the previous line by sz=0x20000000), U-boot stops here :
HTLLC
Configured for 5v only power source.
Valid 5V detected
sz = 20000000
LLC
U-Boot 2015.01-rc3 (Dec 12 2014 - 15:36:08)
CPU: Freescale i.MX28 rev1.2 at 454 MHz
BOOT: SSP SD/MMC #0, 3V3
SPI: ready
DRAM:
But if I force sz to be 128Mib (so sz=0x08000000), It works but with only 128Mib (see debug output above)
EDIT :
The following lines are normal because I launch U-boot with mxsldr, so I don't have any sd card on my board :
MMC0: Command 8 timeout (status 0xe0284020)
MMC0: Command 55 timeout (status 0xe0384020)
MMC0: Command 1 timeout (status 0xe02c4020)
Card did not respond to voltage select!
MMC init failed