[U-Boot-Users] newbie question: How to apply patch posted in the ML

Greetings
Recently, I am trying to add NAND boot support for my smdk2410-like custom board.
And after searching for existing code, I find a patch in ML's archives as following:
U-Boot-Users Digest, Vol 9, Issue 44 [PATCH] Add S3C2410 NAND support (Harald Welte)
But my questions are: 1) Did the patch is against u-boot-1.2.0 or other release? I haven't any clue to ensure this. 2) If so, how to apply this patch? Simply copy and paste the thread's content into a text file(for example, a text file named "nand.diff") and then "patch -p1 < nand.diff"?
Any hints would be highly appreciated. Thanks in advanced.

And after searching for existing code, I find a patch in ML's archives as following:
U-Boot-Users Digest, Vol 9, Issue 44 [PATCH] Add S3C2410 NAND support (Harald Welte)
But my questions are:
- Did the patch is against u-boot-1.2.0 or other
release? I haven't any clue to ensure this.
If Harald followed the rules, this should be against 1.2.0 or better, since it was only posted 2 weeks ago.
- If so, how to apply this patch? Simply copy and
paste the thread's content into a text file(for example, a text file named "nand.diff") and then "patch -p1 < nand.diff"?
Try it and see. You'll get a pretty good indication regarding success or failure. Make sure you have the latest source code from the git repository.
regards, Ben
participants (2)
-
Ben Warren
-
Jarod Wang