SATA: do not auto-initialize during boot
authorMike Frysinger <vapier@gentoo.org>
Tue, 27 Jan 2009 21:12:21 +0000 (16:12 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 27 Jan 2009 22:42:39 +0000 (23:42 +0100)
commitcf7e399fb35b3aea90a27d1df72f45f5d6156204
tree63add98351b9cef8c16b0a8f6d293ca3b3db3fdd
parent50970839712dda35399e2fa83fe818df9354d618
SATA: do not auto-initialize during boot

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 <vapier@gentoo.org>
board/freescale/mpc8536ds/mpc8536ds.c
common/cmd_sata.c
include/sata.h
lib_ppc/board.c