Hi Julius,

On 5/10/2013 01:07, Julius Hemanth P wrote:
This code is small snippet from patch
ftp://ftp.linux4sam.org/pub/uboot/u-boot-v2010.06/u-boot-5series_1.0.patch

Linux 2.6.39 (released on www.at91.com/linux4sam) requires serial and
revision ATAGs to detect NAND device.

This patch provides backward compatibility for old Linux 2.6.39 by
passing serial and revision ATAGs to Linux kernel.

Signed-off-by: Julius Hemanth <[email protected]>
---
Changes for v3:
         - corrected GPBR register access
         - updated commit message

Changes for v2:
         - access GPBR using c structure
         - removed tailing 1 for #define
         - s/Miscelaneous/Miscellaneous
         - s/initialisations/initializations

  board/atmel/at91sam9x5ek/at91sam9x5ek.c | 33 ++++++++++++++++++++++++++++++++-
  include/configs/at91sam9x5ek.h          |  5 +++++
  2 files changed, 37 insertions(+), 1 deletion(-)

Sorry for forgetting to mention check your patch before you send it. please use ./tools/checkpatch.pl under u-boot to check your patch.

Best Regards,
Bo Shen

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to