[U-Boot] [PATCH v3 2/3] mpc5121: add support for PDM360NG board

Wolfgang Denk
2010-04-15T15:18:32Z

Dear Anatolij Gustschin,

In message <20100415143214.3e10813d@wker> you wrote:
>
> > With this change, can we then not also get rid of manually defining
> > CONFIG_PDM360NG_BIG ? We should be able to auto-detect the
> > configuration from the actual RAM size now, right?
>
> But another configuration for 128 MB uses different values
> for DDR System Configuration Register and DDR Time Config[0-2]
> Registers. We still need this config option.

Isn't there a way to auto-adjust these settings? On PowerPC, we
routinely use get_ram_size() to test different sets of memory
controller settings to auto-select the correct ones, allowing to use
one single binary image for all memory configurations.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
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
I have never understood the female capacity to avoid a direct answer
to any question.
-- Spock, "This Side of Paradise", stardate 3417.3