
Dear "Lv Terry-R65388",
In message 1AE74F652ECB1440B73DD7C2C20842D1AC6D29@zch01exm27.fsl.freescale.net you wrote:
I have tried to apply the patch on mainline.
You must be doing something wrong, then.
I re-tested it, it applies cleanly:
-> git-am -3 -i -u --whitespace=strip ~/Mail/U-Boot/7647 Commit Body is: -------------------------- Add initial support for Freescale mx51evk board
The patch adds initial support for the Freescale mx51evk board. Network (FEC) and SD controller (fsl_esdhc) are supported.
Signed-off-by: Stefano Babic sbabic@denx.de Signed-off-by: Fred Fan fanyefeng@gmail.com -------------------------- Apply? [y]es/[n]o/[e]dit/[v]iew patch/[a]ccept all y Applying: Add initial support for Freescale mx51evk board ->
The steps are:
- Copy patch from > http://article.gmane.org/gmane.comp.boot-loaders.u-boot/74754.
- Paste it to local text file patch.
Eventually the patch gets mangled (white space corrupted) this way.
- Clone a new u-boot.
- Try "git apply patch".
I encountered errors:
r65388@szx32-17[/home/r65388/uboot-imx]602% git apply patch error: patch failed: MAINTAINERS:152 error: MAINTAINERS: patch does not apply
Try using "git am", and avoid the copy & paste - save the page as text file instead.
Best regards,
Wolfgang Denk