Dear Nishanth Menon, In message <4c9f3e4f.3040...@gmail.com> you wrote: > > > I think you are referring to SDRAM initialization. Yes, it is assumed > > that SDRAM initialization(at least the DMM part of it) is done before > > the call to sdram_size(). The right location for this seems > > to be the initial part of sdram_init(). > > thanks for the clarification.. NOR boot is usually going to have initial > part in XIP -> we'd traditionally relocate to SDRAM before the call to > sdram_size() happens.
Yes, this was the way how many ARM boards id, and this is what I'm trying to explain: this is WRONG. SDRAM configuration must be done while still running from NOR, i. e. before relocation. Only then free reconfiguration, auto-sizing etc. is possible. 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: w...@denx.de ... The prejudices people feel about each other disappear when then get to know each other. -- Kirk, "Elaan of Troyius", stardate 4372.5 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot