Hi York, > On 09/29/2017 12:44 AM, Ɓukasz Majewski wrote: >> Hi York, >> >>> This board has soldered DDR chips. To reduce the SPL image size, >>> use static DDR setting instead of dynamic DDR driver. >> >> I'm just wondering - since your board supports FIT in SPL, maybe it >> would be good to have a binary blob with DDR RAM settings embedded into it? >> >> Then you would be able to provide "hardcoded" SDRAM setup via it? >> In this way it could be easily replaceable? >> > > Lukasz, > > It sounds reasonable but doesn't work for our platforms. The limitation > is the static RAM. In order to load anything, we need to have some > memory. Lacking of memory is the exact reason I have to use static DDR > setting. I have to make room for other drivers in SPL. I rather thought about: Creating FIT image with firmware property, in which you will have 1:1 binary image for DDR controller registers (e.g. 256B). Then you could store this image to non-volatile memory and read it from SPL (just copy values to registers). In that way you would be able to switch different configurations for different memories (DDR2/DDR3/, 1066, 1333 MHz) without the need to replace u-boot/SPL. > > York > -- Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de