[U-Boot] [PATCH] Canyonlands SATA harddisk driver

Stefan Roese
2009-03-27T16:11:57Z

On Thursday 26 March 2009, Kazuaki Ichinohe wrote:
> Thank you for the reply.
> My answer is described in the beginning.

OK, I just tried to apply your patch for basic testing. Didn't work though.
Here the error log:

[stefan at kubuntu u-boot (master)]$ patch -p1 < patches_sata/\[U-Boot\]\
\[PATCH\]\ Canyonlands\ SATA\ harddisk\ driver.mbox
patching file common/cmd_scsi.c
Hunk #1 FAILED at 47.
Hunk #2 FAILED at 181.
Hunk #3 FAILED at 192.
Hunk #4 FAILED at 453.
4 out of 4 hunks FAILED -- saving rejects to file common/cmd_scsi.c.rej
patching file drivers/block/Makefile
Hunk #1 FAILED at 34.
1 out of 1 hunk FAILED -- saving rejects to file drivers/block/Makefile.rej
patching file drivers/block/sata_dwc.c
patching file drivers/block/sata_dwc.h
patching file include/configs/canyonlands.h
Hunk #1 FAILED at 454.
Hunk #2 FAILED at 518.
2 out of 2 hunks FAILED -- saving rejects to file
include/configs/canyonlands.h.rej

Seems that you didn't base your patch on the latest git version of U-Boot.
Please rebase your patch again that it applies cleanly. And again, please use
the git tools to generate the patch. Or at least send the patch in a git
compatible way, so that it can be applied using "git am".

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de
=====================================================================