[U-Boot] [PATCH v3] SATA: do not auto-initialize during boot
Wolfgang Denk
wd at denx.de
Tue Jan 27 21:58:33 CET 2009
Dear Mike Frysinger,
In message <1230009039-20117-1-git-send-email-vapier at 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 at gentoo.org>
> ---
> 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 ...` cmds
>
> 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(-)
Sorry, this doesn;t apply any more:
error: patch failed: board/freescale/mpc8536ds/mpc8536ds.c:582
error: board/freescale/mpc8536ds/mpc8536ds.c: patch does not apply
Using index info to reconstruct a base tree...
error: patch failed: board/freescale/mpc8536ds/mpc8536ds.c:582
error: board/freescale/mpc8536ds/mpc8536ds.c: patch does not apply
Did you hand edit your patch?
It does not apply to blobs recorded in its index.
Cannot fall back to three-way merge.
Patch failed at 0001.
Please rebase and resubmit. 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: wd at denx.de
"A verbal contract isn't worth the paper it's printed on."
- Samuel Goldwyn
More information about the U-Boot
mailing list