[U-Boot] [PATCH] SATA: do not auto-initialize during boot

Kumar Gala galak at kernel.crashing.org
Thu Dec 11 17:17:56 CET 2008


On Dec 11, 2008, at 4:32 AM, Mike Frysinger wrote:

> Rather than have the board code initialize SATA automatically during  
> boot,
> make the user manually run "sata init".  This brings the SATA  
> subsystem in
> line with common U-Boot policy.
>
> Along these lines, the "is_sata_supported()" hook is no longer  
> needed, so
> scrub it from the tree.
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> board/freescale/mpc8536ds/mpc8536ds.c |   11 -----------
> common/cmd_sata.c                     |    7 +++++--
> include/sata.h                        |    2 --
> lib_ppc/board.c                       |   20 --------------------
> 4 files changed, 5 insertions(+), 35 deletions(-)

Why should we make the user have to do 'sata init'?  That seems  
annoying and easy to forget.

- k


More information about the U-Boot mailing list