[U-Boot] [PATCH] i.MX28: Add function to adjust memory parameters

Fabio Estevam festevam at gmail.com
Mon Jun 18 16:17:15 CEST 2012


Hi Marek,

On Thu, May 31, 2012 at 3:45 PM, Marek Vasut <marex at denx.de> wrote:

> Call this or similar in your spl_boot.c to adjust the DRAM configuration.
> Actually I think even the following value should fix your problem:
>
> void mx28_adjust_memory_params(uint32_t *dram_vals)
> {
>        dram_vals[0x74 >> 2] = 0x0f02010a;
> }

I finally had a chance to try this and my mx28evk can boot again with
your patch + the code above.

How do we handle this? Would you send a v2 with this additional code
or should I do it myself after your original patch in this thread gets
applied?

Also, please explain to the mortal folks what 'dram_vals[0x74 >> 2] =
0x0f02010a;' means.

It is not something very trivial to figure out :-)

Thanks,

Fabio Estevam


More information about the U-Boot mailing list