Dear "V, Aneesh", In message <ff55437e1f14da4baeb721a458b6701706fca3b...@dbde02.ent.ti.com> you wrote: > > > SDRAM configuration must be done while still running from NOR, i. e. > > before relocation. Only then free reconfiguration, auto-sizing etc. > > is > > possible. > > We shall rework the patch to do SDRAM size calculation as part of > 'lowlevel_init' that is called before relocation. I hope that should > solve the problem.
No. This is not where it belongs. RAM initialization is done by the dram_init() function, which is an entry in the init_sequence[] array; see arch/arm/lib/board.c > Please note that we are always running from SDRAM because none of > the OMAP4 boards so far have any XIP device. I see. 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 Digital computers are themselves more complex than most things people build: They have very large numbers of states. This makes conceiving, describing, and testing them hard. Software systems have orders-of- magnitude more states than computers do. - Fred Brooks, Jr. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot