Re: [U-Boot] [PATCH] Kirkwood: Add support for OpenRD-Client OpenRD-Ultimate

2011-02-09 Thread Tanmay Upadhyay - Embedded

- Original Message - 
From: Prafulla Wadaskar prafu...@marvell.com 
To: Julian Pidancet julian.pidan...@citrix.com, u-boot@lists.denx.de 
Cc: tanmay upadhyay tanmay.upadh...@einfochips.com, Prabhanjan Sarnaik 
sarn...@marvell.com, Ashish Karkare akark...@marvell.com 
Sent: Wednesday, February 9, 2011 12:16:40 PM 
Subject: RE: [PATCH] Kirkwood: Add support for OpenRD-Client  OpenRD-Ultimate 



 -Original Message- 
 From: Julian Pidancet [mailto:julian.pidan...@citrix.com] 
 Sent: Tuesday, February 08, 2011 10:21 AM 
 To: u-boot@lists.denx.de 
 Cc: tanmay.upadh...@einfochips.com; Prafulla Wadaskar 
 Subject: [PATCH] Kirkwood: Add support for OpenRD-Client  OpenRD- 
 Ultimate 
 
 This patch modifies existing OpenRD-Base support to deal with all 
 the three OpenRD boards (OpenRD-Base, OpenRD-Client  OpenRD-Ultimate). 
 
 This is a rebase onto master from an original patch sent by Tanmay 
 Upadhyay a few months ago. 
 All credits goes to him. 
 It's been tested on my OpenRD-Ultimate and works perfectly fine. 
 
 Signed-off-by: Julian Pidancet julian.pidan...@citrix.com 
 mailto:julian.pidan...@citrix.com 
 --- 
 MAKEALL | 2 + 
 board/Marvell/openrd/Makefile | 56 ++ 
 board/Marvell/openrd/config.mk | 33 ++ 
 board/Marvell/openrd/kwbimage.cfg | 168 
 ++ 
 board/Marvell/openrd/openrd.c | 173 
 +++ 
 board/Marvell/openrd/openrd.h | 50 + 
 board/Marvell/openrd_base/Makefile | 56 -- 
 board/Marvell/openrd_base/kwbimage.cfg | 168  
 -- 
 board/Marvell/openrd_base/openrd_base.c | 153  
 --- 
 board/Marvell/openrd_base/openrd_base.h | 46  
 boards.cfg | 4 +- 
 include/configs/openrd.h | 115  
 include/configs/openrd_base.h | 92 +++-- 
 include/configs/openrd_client.h | 50 + 
 include/configs/openrd_ultimate.h | 50 + 
 15 files changed, 714 insertions(+), 502 deletions(-) 
 create mode 100644 board/Marvell/openrd/Makefile 
 create mode 100644 board/Marvell/openrd/config.mk 
 create mode 100644 board/Marvell/openrd/kwbimage.cfg 
 create mode 100644 board/Marvell/openrd/openrd.c 
 create mode 100644 board/Marvell/openrd/openrd.h 
 delete mode 100644 board/Marvell/openrd_base/Makefile 
 delete mode 100644 board/Marvell/openrd_base/kwbimage.cfg 
 delete mode 100644 board/Marvell/openrd_base/openrd_base.c 
 delete mode 100644 board/Marvell/openrd_base/openrd_base.h 
 create mode 100644 include/configs/openrd.h 
 create mode 100644 include/configs/openrd_client.h 
 create mode 100644 include/configs/openrd_ultimate.h 

Hi Julian 

I suggest not to delete old file, on the other hand you can rename or move them 
through git. 

Regards... 
Prafulla . . 




Hi Prafulla, 


In original patch I had moved files with 'git mv' command, but the patch showed 
up like this. Am I missing appropriate git command? 


Thanks, 


Tanmay ___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] Kirkwood: Add support for OpenRD-Client OpenRD-Ultimate

2011-02-09 Thread Tanmay Upadhyay - Embedded

- Original Message - 
From: Julian Pidancet julian.pidan...@citrix.com 
To: u-boot@lists.denx.de 
Cc: tanmay upadhyay tanmay.upadh...@einfochips.com, prafu...@marvell.com 
Sent: Tuesday, February 8, 2011 11:50:54 PM 
Subject: [PATCH] Kirkwood: Add support for OpenRD-Client  OpenRD-Ultimate 

This patch modifies existing OpenRD-Base support to deal with all
the three OpenRD boards (OpenRD-Base, OpenRD-Client  OpenRD-Ultimate).

This is a rebase onto master from an original patch sent by Tanmay Upadhyay a 
few months ago.
All credits goes to him.
It's been tested on my OpenRD-Ultimate and works perfectly fine. 

Signed-off-by: Julian Pidancet julian.pidan...@citrix.com Acked by: Tanmay 
Upadhyay tanmay.upadh...@einfochips.com ---
 MAKEALL |2 +
 board/Marvell/openrd/Makefile   |   56 ++
 board/Marvell/openrd/config.mk  |   33 ++
 board/Marvell/openrd/kwbimage.cfg   |  168 ++
 board/Marvell/openrd/openrd.c   |  173 +++
 board/Marvell/openrd/openrd.h   |   50 +
 board/Marvell/openrd_base/Makefile  |   56 --
 board/Marvell/openrd_base/kwbimage.cfg  |  168 --
 board/Marvell/openrd_base/openrd_base.c |  153 ---
 board/Marvell/openrd_base/openrd_base.h |   46 
 boards.cfg  |4 +-
 include/configs/openrd.h|  115 
 include/configs/openrd_base.h   |   92 +++--
 include/configs/openrd_client.h |   50 +
 include/configs/openrd_ultimate.h   |   50 +
 15 files changed, 714 insertions(+), 502 deletions(-)
 create mode 100644 board/Marvell/openrd/Makefile
 create mode 100644 board/Marvell/openrd/config.mk
 create mode 100644 board/Marvell/openrd/kwbimage.cfg
 create mode 100644 board/Marvell/openrd/openrd.c
 create mode 100644 board/Marvell/openrd/openrd.h
 delete mode 100644 board/Marvell/openrd_base/Makefile
 delete mode 100644 board/Marvell/openrd_base/kwbimage.cfg
 delete mode 100644 board/Marvell/openrd_base/openrd_base.c
 delete mode 100644 board/Marvell/openrd_base/openrd_base.h
 create mode 100644 include/configs/openrd.h
 create mode 100644 include/configs/openrd_client.h
 create mode 100644 include/configs/openrd_ultimate.h

diff --git a/MAKEALL b/MAKEALL
index a732e6a..4b6da98 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -361,6 +361,8 @@ LIST_ARM9= \
omap5912osk \
omap730p2   \
openrd_base \
+   openrd_client   \
+   openrd_ultimate \
rd6281a \
sbc2410x\
scb9328 \
diff --git a/board/Marvell/openrd/Makefile b/board/Marvell/openrd/Makefile
new file mode 100644
index 000..19020e4
--- /dev/null
+++ b/board/Marvell/openrd/Makefile
@@ -0,0 +1,56 @@
+#
+# (C) Copyright 2009
+# Net Insight  www.netinsight.net 
+# Written-by: Simon Kagstrom simon.kagst...@netinsight.net +#
+# Based on sheevaplug:
+# (C) Copyright 2009
+# Marvell Semiconductor  www.marvell.com 
+# Written-by: Prafulla Wadaskar prafu...@marvell.com +#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+# MA 02110-1301 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB= $(obj)lib$(BOARD).o
+
+COBJS  := openrd.o
+
+SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS))
+SOBJS  := $(addprefix $(obj),$(SOBJS))
+
+$(LIB):$(obj).depend $(OBJS) $(SOBJS)
+   $(call cmd_link_o_target, $(OBJS) $(SOBJS))
+
+clean:
+   rm -f $(SOBJS) $(OBJS)
+
+distclean: clean
+   rm -f $(LIB) core *.bak .depend
+
+#
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#
diff --git a/board/Marvell/openrd/config.mk b/board/Marvell/openrd/config.mk
new file mode 100644
index 000..8ae355e
--- /dev/null
+++ b/board/Marvell/openrd/config.mk
@@ -0,0 +1,33 @@
+#
+# (C) Copyright 2009
+# Net Insight  www.netinsight.net 
+# Written-by: Simon 

Re: [U-Boot] [PATCH] Kirkwood: Add support for OpenRD-Client OpenRD-Ultimate

2011-02-09 Thread Prafulla Wadaskar


 -Original Message-
 From: Tanmay Upadhyay - Embedded [mailto:tanmay.upadh...@einfochips.com]
 Sent: Wednesday, February 09, 2011 1:18 AM
 To: Prafulla Wadaskar
 Cc: Prabhanjan Sarnaik; Ashish Karkare; Julian Pidancet; u-
 b...@lists.denx.de
 Subject: Re: [PATCH] Kirkwood: Add support for OpenRD-Client  OpenRD-
 Ultimate
 
 
 - Original Message -
 From: Prafulla Wadaskar prafu...@marvell.com
 To: Julian Pidancet julian.pidan...@citrix.com, u-boot@lists.denx.de
 Cc: tanmay upadhyay tanmay.upadh...@einfochips.com, Prabhanjan
 Sarnaik sarn...@marvell.com, Ashish Karkare akark...@marvell.com
 Sent: Wednesday, February 9, 2011 12:16:40 PM
 Subject: RE: [PATCH] Kirkwood: Add support for OpenRD-Client  OpenRD-
 Ultimate
 
 
 
  -Original Message-
  From: Julian Pidancet [mailto:julian.pidan...@citrix.com]
  Sent: Tuesday, February 08, 2011 10:21 AM
  To: u-boot@lists.denx.de
  Cc: tanmay.upadh...@einfochips.com; Prafulla Wadaskar
  Subject: [PATCH] Kirkwood: Add support for OpenRD-Client  OpenRD-
  Ultimate
 
  This patch modifies existing OpenRD-Base support to deal with all
  the three OpenRD boards (OpenRD-Base, OpenRD-Client  OpenRD-
 Ultimate).
 
  This is a rebase onto master from an original patch sent by Tanmay
  Upadhyay a few months ago.
  All credits goes to him.
  It's been tested on my OpenRD-Ultimate and works perfectly fine.
 
  Signed-off-by: Julian Pidancet julian.pidan...@citrix.com
  mailto:julian.pidan...@citrix.com
  ---
   MAKEALL |2 +
   board/Marvell/openrd/Makefile   |   56 ++
   board/Marvell/openrd/config.mk  |   33 ++
   board/Marvell/openrd/kwbimage.cfg   |  168
  ++
   board/Marvell/openrd/openrd.c   |  173
  +++
   board/Marvell/openrd/openrd.h   |   50 +
   board/Marvell/openrd_base/Makefile  |   56 --
   board/Marvell/openrd_base/kwbimage.cfg  |  168 --
 --
  --
   board/Marvell/openrd_base/openrd_base.c |  153 --
 --
  ---
   board/Marvell/openrd_base/openrd_base.h |   46 
   boards.cfg  |4 +-
   include/configs/openrd.h|  115 
   include/configs/openrd_base.h   |   92 +++--
   include/configs/openrd_client.h |   50 +
   include/configs/openrd_ultimate.h   |   50 +
   15 files changed, 714 insertions(+), 502 deletions(-)
   create mode 100644 board/Marvell/openrd/Makefile
   create mode 100644 board/Marvell/openrd/config.mk
   create mode 100644 board/Marvell/openrd/kwbimage.cfg
   create mode 100644 board/Marvell/openrd/openrd.c
   create mode 100644 board/Marvell/openrd/openrd.h
   delete mode 100644 board/Marvell/openrd_base/Makefile
   delete mode 100644 board/Marvell/openrd_base/kwbimage.cfg
   delete mode 100644 board/Marvell/openrd_base/openrd_base.c
   delete mode 100644 board/Marvell/openrd_base/openrd_base.h
   create mode 100644 include/configs/openrd.h
   create mode 100644 include/configs/openrd_client.h
   create mode 100644 include/configs/openrd_ultimate.h
 
 Hi Julian
 
 I suggest not to delete old file, on the other hand you can rename or
 move them through git.
 
 Regards...
 Prafulla . .
 
 
 
 Hi Prafulla,
 
 In original patch I had moved files with 'git mv' command, but the patch
 showed up like this. Am I missing appropriate git command?

Better you split your patch into two,
1. move/rename of existing code only.
2. Patch to add additional two board supports.

Regards..
Prafulla . .
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] Kirkwood: Add support for OpenRD-Client OpenRD-Ultimate

2011-02-09 Thread Wolfgang Denk
Dear Tanmay Upadhyay - Embedded,

In message 726556893.71716.1297242968960.javamail.r...@ahm.einfochips.com you 
wrote:
 --===1012086174==
 Content-Type: multipart/alternative; 
   boundary==_Part_71715_1073465620.1297242968958
 
 --=_Part_71715_1073465620.1297242968958
 Content-Type: text/plain; charset=utf-8
 Content-Transfer-Encoding: 7bit
 
 
 - Original Message - 
 From: Julian Pidancet julian.pidan...@citrix.com 
 To: u-boot@lists.denx.de 
 Cc: tanmay upadhyay tanmay.upadh...@einfochips.com, prafu...@marvell.com 
 Sent: Tuesday, February 8, 2011 11:50:54 PM 
 Subject: [PATCH] Kirkwood: Add support for OpenRD-Client  OpenRD-Ultimate 

Why are you reposting this old patch?  And why in an attachment?

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: w...@denx.de
The important thing about being a leader is not being right or wrong,
but being *certain*.- Terry Pratchett, _Truckers_
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] Kirkwood: Add support for OpenRD-Client OpenRD-Ultimate

2011-02-09 Thread Tanmay Upadhyay

On Wednesday 09 February 2011 03:47 PM, Wolfgang Denk wrote:
 Dear Tanmay Upadhyay - Embedded,

 In message726556893.71716.1297242968960.javamail.r...@ahm.einfochips.com  
 you wrote:
 --===1012086174==
 Content-Type: multipart/alternative;
  boundary==_Part_71715_1073465620.1297242968958

 --=_Part_71715_1073465620.1297242968958
 Content-Type: text/plain; charset=utf-8
 Content-Transfer-Encoding: 7bit


 - Original Message -
 From: Julian Pidancetjulian.pidan...@citrix.com
 To: u-boot@lists.denx.de
 Cc: tanmay upadhyaytanmay.upadh...@einfochips.com, prafu...@marvell.com
 Sent: Tuesday, February 8, 2011 11:50:54 PM
 Subject: [PATCH] Kirkwood: Add support for OpenRD-Client  OpenRD-Ultimate

 Why are you reposting this old patch?  And why in an attachment?

 Best regards,

 Wolfgang Denk


Sorry if I made a mess. This was my first email to this mailing list 
which wasn't sent from 'git send-email'.

I just wanted to ack Julian's mail. I simply replied his mail and added 
'Acked by' line. May be my webmail made a mess of it. Sending this mail 
from Thunderbird. Hope this time it goes ok.

Regards,

Tanmay
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] Kirkwood: Add support for OpenRD-Client OpenRD-Ultimate

2011-02-08 Thread Prafulla Wadaskar


 -Original Message-
 From: Julian Pidancet [mailto:julian.pidan...@citrix.com]
 Sent: Tuesday, February 08, 2011 10:21 AM
 To: u-boot@lists.denx.de
 Cc: tanmay.upadh...@einfochips.com; Prafulla Wadaskar
 Subject: [PATCH] Kirkwood: Add support for OpenRD-Client  OpenRD-
 Ultimate
 
 This patch modifies existing OpenRD-Base support to deal with all
 the three OpenRD boards (OpenRD-Base, OpenRD-Client  OpenRD-Ultimate).
 
 This is a rebase onto master from an original patch sent by Tanmay
 Upadhyay a few months ago.
 All credits goes to him.
 It's been tested on my OpenRD-Ultimate and works perfectly fine.
 
 Signed-off-by: Julian Pidancet julian.pidan...@citrix.com
 mailto:julian.pidan...@citrix.com
 ---
  MAKEALL |2 +
  board/Marvell/openrd/Makefile   |   56 ++
  board/Marvell/openrd/config.mk  |   33 ++
  board/Marvell/openrd/kwbimage.cfg   |  168
 ++
  board/Marvell/openrd/openrd.c   |  173
 +++
  board/Marvell/openrd/openrd.h   |   50 +
  board/Marvell/openrd_base/Makefile  |   56 --
  board/Marvell/openrd_base/kwbimage.cfg  |  168 
 --
  board/Marvell/openrd_base/openrd_base.c |  153 
 ---
  board/Marvell/openrd_base/openrd_base.h |   46 
  boards.cfg  |4 +-
  include/configs/openrd.h|  115 
  include/configs/openrd_base.h   |   92 +++--
  include/configs/openrd_client.h |   50 +
  include/configs/openrd_ultimate.h   |   50 +
  15 files changed, 714 insertions(+), 502 deletions(-)
  create mode 100644 board/Marvell/openrd/Makefile
  create mode 100644 board/Marvell/openrd/config.mk
  create mode 100644 board/Marvell/openrd/kwbimage.cfg
  create mode 100644 board/Marvell/openrd/openrd.c
  create mode 100644 board/Marvell/openrd/openrd.h
  delete mode 100644 board/Marvell/openrd_base/Makefile
  delete mode 100644 board/Marvell/openrd_base/kwbimage.cfg
  delete mode 100644 board/Marvell/openrd_base/openrd_base.c
  delete mode 100644 board/Marvell/openrd_base/openrd_base.h
  create mode 100644 include/configs/openrd.h
  create mode 100644 include/configs/openrd_client.h
  create mode 100644 include/configs/openrd_ultimate.h

Hi Julian

I suggest not to delete old file, on the other hand you can rename or move them 
through git.

Regards...
Prafulla . .
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot