Replacing xloader by bl1.bin

If bl1.bin will be running as a true first-level bootloader from the built-in (LP)RAM,
it must include code for initializing the (LP)DDRAM to load the l-loader.
Is there any freely available software for doing this task ?

If bl1.bin will be running as a true first-level bootloader from the built-in (LP)RAM,
it must include code for initializing the (LP)DDRAM to load the l-loader.
Is there any freely available software for doing this task ?

No. Not as far as I know.

I see the hikey_ddr.c in the ATF source, but it looks as an assembler code written in C.