[U-Boot] [PATCH v3 2/2] hwmon: do not init sensors on startup

Holger Brunck holger.brunck at keymile.com
Mon Aug 1 09:23:36 CEST 2011


Hi,

On 06/09/2011 11:07 AM, Heiko Schocher wrote:
> The U-Boot Design Principles[1] clearly say:
> 
>   Initialize devices only when they are needed within U-Boot, i.e. don't
>   initialize the Ethernet interface(s) unless U-Boot performs a download
>   over Ethernet; don't initialize any IDE or USB devices unless U-Boot
>   actually tries to load files from these, etc. (and don't forget to
>   shut down these devices after using them - otherwise nasty things may
>   happen when you try to boot your OS).
> 
> So, do not initialize and read the sensors on startup.
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>
> cc: Wolfgang Denk <wd at denx.de>
> cc: Holger Brunck <holger.brunck at keymile.com>
> 
> ---

what's the status of this patch? Is it intended to go in for rc1? I have seen
that 1/2 was committed but not this one. This patch runs in our local branch for
some month so:

Tested-by: Holger Brunck <holger.brunck at keymile.com>

Regards
Holger




More information about the U-Boot mailing list