[U-Boot] [PATCH] i.MX31: fir imx31_phycore to work after Linux reboot

Wolfgang Denk wd at denx.de
Sat Feb 21 22:32:33 CET 2009


Dear Guennadi Liakhovetski,

In message <Pine.LNX.4.64.0902061353280.7686 at axis700.grange> you wrote:
> 
> > In message <Pine.LNX.4.64.0902061002160.4970 at axis700.grange> you wrote:
> > > Upon power on i.MX31 enables most peripheral clocks, Linux disables the ones
> > 
> > Why does U-Boot do that?
> 
> i.MX31 does that - the CPU, not U-Boot. I.e., this is the default power-on 
> mode.

Yea, but U-Boot performs h/w initialization. So why does it not - like
Linux - set sane defaults (with only the necessary clocks enabled) ?

> > That's another area of bad design. Should we not change U-Boot such
> > that it places the environment in flash?
> 
> Hm, no idea who and why decided to do that. I can only guess that this 
> comes from the original BSPs somewhere, maybe they wanted to ship various 

Well, submit a patch, so Sascha as board maintainer can comment?

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
The Gates in my computer are AND, OR and NOT; they are not Bill.


More information about the U-Boot mailing list