Dear Mike Frysinger,

In message <1233090741-3150-1-git-send-email-vap...@gentoo.org> you 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.
> 
> Rather than having a dedicated weak function "is_sata_supported", people
> can override sata_initialize() to do their weird board stuff.  Then they
> can call the actual __sata_initialize().
> 
> Signed-off-by: Mike Frysinger <vap...@gentoo.org>
> ---
> v4
>       - rebase against latest master
> 
> v3
>       - redo how the board weak is handled to be less bloated when
>         screwing over everyone else
> 
> v2
>       - auto run `sata init` if needed when doing other `sata ...` 
> 
>  board/freescale/mpc8536ds/mpc8536ds.c |    6 +++---
>  common/cmd_sata.c                     |   12 +++++++++++-
>  include/sata.h                        |    1 +
>  lib_ppc/board.c                       |   20 --------------------
>  4 files changed, 15 insertions(+), 24 deletions(-)

Applied, thanks.

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: w...@denx.de
Only two things are infinite,  the universe and human stupidity,  and
I'm not sure about the former.                     -- Albert Einstein
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to