[U-Boot] [PATCH] ARMV7: Overo: Automatically set clock rate to maximum if mpurate env variable is "auto"

Premi, Sanjeev premi at ti.com
Mon Nov 8 09:46:17 CET 2010


> -----Original Message-----
> From: u-boot-bounces at lists.denx.de 
> [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Wolfgang Denk
> Sent: Monday, November 08, 2010 3:14 AM
> To: Steve Sakoman
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] [PATCH] ARMV7: Overo: Automatically set 
> clock rate to maximum if mpurate env variable is "auto"
> 
> Dear Steve Sakoman,
> 
> In message <1289012370.18546.66.camel at quadra> you wrote:
> > The maximum clock rate for the OMAP3 processors on Overo 
> depends on the
> > processor type and revision.  This patch sets the clock rate to the
> > spec sheet maximum if the mpurate environment variable is set to
> > "auto".  Otherwise it passes the mpurate variable unchanged on the
> > kernel command line.
> 
> I don't think this is a good idea.
> 
> This logic does not belong into U-Boot; if anywhere, it belongs into
> the Linux kernel code.  If I want to pass any specific value to the
> Linux kernel I want that U-Boot does not get in my way. And if I
> decide to set the mpurate to "auto" I want that U-Boot keeps this
> setting and does not change it silently behind my back into something
> else.

[sp] I am in full agreement.
     It is too difficult to find root cause for transparent changes -
     usually lead to long debug times first in kernel an then in u-boot.

~sanjeev

> 
> Both looks conceptually broken to me.
> 
> 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 became apparent that one reason why the Ice Giants were  known  as
> the  Ice  Giants  was  because they were, well, giants. The other was
> that they were made of ice.              -Terry Pratchett, _Sourcery_
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 


More information about the U-Boot mailing list