Re: [U-Boot] [PATCH 6/6][repost] Marvell RD6281A Board support

2009-07-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:02 Thu 16 Jul , Prafulla Wadaskar wrote:
> This is Marvell's 88F6281_A0 based reference design board
> 
> This patch is tested for-
> 1. Boot from DRAM/NAND flash/NFS
> 2. File transfer using tftp and loadb
> 3. NAND flash read/write/erase
> 
> Signed-off-by: Prafulla Wadaskar 
> ---
> Change log:
> Sorry.. One commit was missing...
applied to u-boot-arm

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


[U-Boot] [PATCH 6/6][repost] Marvell RD6281A Board support

2009-07-16 Thread Prafulla Wadaskar
This is Marvell's 88F6281_A0 based reference design board

This patch is tested for-
1. Boot from DRAM/NAND flash/NFS
2. File transfer using tftp and loadb
3. NAND flash read/write/erase

Signed-off-by: Prafulla Wadaskar 
---
Change log:
Sorry.. One commit was missing...

 MAINTAINERS |1 +
 MAKEALL |1 +
 Makefile|3 +
 board/Marvell/rd6281a/Makefile  |   51 ++
 board/Marvell/rd6281a/config.mk |   25 +
 board/Marvell/rd6281a/rd6281a.c |  179 +++
 board/Marvell/rd6281a/rd6281a.h |   41 
 include/configs/rd6281a.h   |  198 +++
 8 files changed, 499 insertions(+), 0 deletions(-)
 create mode 100644 board/Marvell/rd6281a/Makefile
 create mode 100644 board/Marvell/rd6281a/config.mk
 create mode 100644 board/Marvell/rd6281a/rd6281a.c
 create mode 100644 board/Marvell/rd6281a/rd6281a.h
 create mode 100644 include/configs/rd6281a.h

diff --git a/MAINTAINERS b/MAINTAINERS
index 76268b4..ff587e1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -676,6 +676,7 @@ Hugo Villeneuve 
 Prafulla Wadaskar 
 
mv88f6281gtw_ge ARM926EJS (Kirkwood SoC)
+   rd6281a ARM926EJS (Kirkwood SoC)
sheevaplug  ARM926EJS (Kirkwood SoC)
 
 Richard Woodruff 
diff --git a/MAKEALL b/MAKEALL
index 4e1f431..3d7e4da 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -521,6 +521,7 @@ LIST_ARM9=" \
omap1610inn \
omap5912osk \
omap730p2   \
+   rd6281a \
sbc2410x\
scb9328 \
sheevaplug  \
diff --git a/Makefile b/Makefile
index b4d8c80..3a011c8 100644
--- a/Makefile
+++ b/Makefile
@@ -2921,6 +2921,9 @@ omap730p2_cs3boot_config :unconfig
fi;
@$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 
NULL omap
 
+rd6281a_config: unconfig
+   @$(MKCONFIG) $(@:_config=) arm arm926ejs $(@:_config=) Marvell kirkwood
+
 sbc2410x_config: unconfig
@$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
 
diff --git a/board/Marvell/rd6281a/Makefile b/board/Marvell/rd6281a/Makefile
new file mode 100644
index 000..907dd7d
--- /dev/null
+++ b/board/Marvell/rd6281a/Makefile
@@ -0,0 +1,51 @@
+#
+# (C) Copyright 2009
+# Marvell Semiconductor 
+# Written-by: Prafulla Wadaskar 
+#
+# 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).a
+
+COBJS  := rd6281a.o
+
+SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS))
+SOBJS  := $(addprefix $(obj),$(SOBJS))
+
+$(LIB):$(obj).depend $(OBJS) $(SOBJS)
+   $(AR) $(ARFLAGS) $@ $(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/rd6281a/config.mk b/board/Marvell/rd6281a/config.mk
new file mode 100644
index 000..a4ea769
--- /dev/null
+++ b/board/Marvell/rd6281a/config.mk
@@ -0,0 +1,25 @@
+#
+# (C) Copyright 2009
+# Marvell Semiconductor 
+# Written-by: Prafulla Wadaskar 
+#
+# 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
+#
+
+TEXT_BAS