[U-Boot] [PATCH v2] mx28evk: Scan only first 128MB of DRAM to avoid memory wraparound

Marek Vasut marex at denx.de
Tue May 29 22:43:21 CEST 2012


Dear Wolfgang Denk,

> Dear Fabio Estevam,
> 
> In message 
<CAOMZO5AoXTbc1ELHoPLoicuwcf9rSuZZLUcKdyzWwyRfbDHC8Q at mail.gmail.com> you wrote:
> > Also, on the other i.MX boards we put the total size of RAM in the
> > config files, and I did the same here with this patch.
> 
> This is a really bad habit that I would like to see eradicated rather
> sooner than later.

I've been thinking about it, maybe you can use the memory configuration 
adjustment function -- mx28_adjust_memory_params(). You shouldn't have the 
wraparound there then and you should be able to scan whole 1 gig of DRAM :)

> Best regards,
> 
> Wolfgang Denk

Best regards,
Marek Vasut


More information about the U-Boot mailing list