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

Wolfgang Denk wd at denx.de
Fri Feb 6 13:45:10 CET 2009


Dear Guennadi Liakhovetski,

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?

This is against U-Boot design guidelines which state that U-Boot shall
only activate such peripherals that it uses itself.

> didn't use I2C, the clock would stay disabled. And U-Boot on imx31_phycore
> uses an I2C EEPROM for environment data. So, after a reboot U-Boot would be

That's another area of bad design. Should we not change U-Boot such
that it places the environment in flash?


BTW: What does "fir imx31_phycore to work after Linux reboot" mean? I
cannot parse that.

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
Children are natural mimics who act like their parents despite  every
effort to teach them good manners.


More information about the U-Boot mailing list