[U-Boot] [PATCH v2 04/22] omap4: save parameters passed by ROM code to SPL

Wolfgang Denk wd at denx.de
Tue May 17 10:11:38 CEST 2011


Dear Aneesh V,

In message <4DD21961.7070408 at ti.com> you wrote:
> 
> >> SPL has access to .data right from the beginning. Besides this is too
> >> early. global data is not initialized yet.
> >
> > Please keep in mind that this is a special situation then. The code
> > will not work as intended for example when running form NOR flash.
> 
> Yes, I realize that. The values passed in the ARM registers need to be
> saved before they are lost. At the moment only SPL needs them. We do
> not have a board with NOR flash yet. If there is a need in the future
> we may have to save it in some predefined special purpose memory such
> as the scratchpad memory of OMAP or some location in the internal RAM
> that is not used. But there is no such need at the moment.

OK. Maybe you can add a comment that explains this situation.

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
"It may be that our role on this planet is not to worship God but  to
create him."                                       - Arthur C. Clarke


More information about the U-Boot mailing list