
Dear Mike Frysinger,
In message 1233090741-3150-1-git-send-email-vapier@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 vapier@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