[U-Boot-Users] [PATCH] sh: Renesas Solutions SH7763RDP board support

2008-06-06 Thread Nobuhiro Iwamatsu
SH7763RDP has SCIF, NOR Flash, Ethernet, USB host, LCDC and MMC.
In this patch, support SCIF, NOR Flash, and Ethernet.

Signed-off-by: Nobuhiro Iwamatsu [EMAIL PROTECTED]
---
 MAINTAINERS |1 +
 MAKEALL |1 +
 Makefile|5 +
 board/sh7763rdp/Makefile|   47 +
 board/sh7763rdp/config.mk   |   11 ++
 board/sh7763rdp/lowlevel_init.S |  351 +++
 board/sh7763rdp/sh7763rdp.c |   76 +
 board/sh7763rdp/u-boot.lds  |  106 
 include/configs/sh7763rdp.h |  129 ++
 9 files changed, 727 insertions(+), 0 deletions(-)
 create mode 100644 board/sh7763rdp/Makefile
 create mode 100644 board/sh7763rdp/config.mk
 create mode 100644 board/sh7763rdp/lowlevel_init.S
 create mode 100644 board/sh7763rdp/sh7763rdp.c
 create mode 100644 board/sh7763rdp/u-boot.lds
 create mode 100644 include/configs/sh7763rdp.h

diff --git a/MAINTAINERS b/MAINTAINERS
index d3dfd48..b3daaeb 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -718,6 +718,7 @@ Nobuhiro Iwamatsu [EMAIL PROTECTED]
MS7722SESH7722
R7780MP SH7780
R2DPlus SH7751R
+   SH7763RDP   SH7763

 Mark Jonas [EMAIL PROTECTED]

diff --git a/MAKEALL b/MAKEALL
index 3cb1d24..45ef33e 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -749,6 +749,7 @@ LIST_sh4=  \
Migo-R  \
r7780mp \
r2dplus \
+   sh7763rdp   \
 

 LIST_sh=  \
diff --git a/Makefile b/Makefile
index cc988e1..cb63223 100644
--- a/Makefile
+++ b/Makefile
@@ -2941,6 +2941,11 @@ r2dplus_config  :   unconfig
@echo #define CONFIG_R2DPLUS 1  include/config.h
@./mkconfig -a $(@:_config=) sh sh4 r2dplus

+sh7763rdp_config  :   unconfig
+   @ include/config.h
+   @echo #define CONFIG_SH7763RDP 1  include/config.h
+   @./mkconfig -a $(@:_config=) sh sh4 sh7763rdp
+
 #
 # SPARC
 #
diff --git a/board/sh7763rdp/Makefile b/board/sh7763rdp/Makefile
new file mode 100644
index 000..9e63ea7
--- /dev/null
+++ b/board/sh7763rdp/Makefile
@@ -0,0 +1,47 @@
+#
+# Copyright (C) 2008 Renesas Solutions Corp.
+# Copyright (C) 2008 Nobuhiro Iwamatsu [EMAIL PROTECTED]
+# Copyright (C) 2007 Kenati Technologies, Inc.
+#
+# board/sh7763rdp/Makefile
+#
+# 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., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB= lib$(BOARD).a
+
+OBJS   := sh7763rdp.o
+SOBJS  := lowlevel_init.o
+
+$(LIB):$(OBJS) $(SOBJS)
+   $(AR) crv $@ $(OBJS) $(SOBJS)
+
+clean:
+   rm -f $(SOBJS) $(OBJS)
+
+distclean: clean
+   rm -f $(LIB) core *.bak .depend
+
+#
+
+.depend:   Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
+   $(CC) -M $(CPPFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c)  $@
+
+-include .depend
+
+#
diff --git a/board/sh7763rdp/config.mk b/board/sh7763rdp/config.mk
new file mode 100644
index 000..c52dbfd
--- /dev/null
+++ b/board/sh7763rdp/config.mk
@@ -0,0 +1,11 @@
+#
+# board/sh7763rdp/config.mk
+#
+# TEXT_BASE refers to image _after_ relocation.
+#
+# NOTE: Must match value used in u-boot.lds (in this directory).
+#
+
+TEXT_BASE = 0x8FFC
+
+# PLATFORM_CPPFLAGS += -DCONFIG_MULTIBOOT
diff --git a/board/sh7763rdp/lowlevel_init.S b/board/sh7763rdp/lowlevel_init.S
new file mode 100644
index 000..1942892
--- /dev/null
+++ b/board/sh7763rdp/lowlevel_init.S
@@ -0,0 +1,351 @@
+/*
+ * Copyright (C) 2008 Renesas Solutions Corp.
+ * Copyright (C) 2008 Nobuhiro Iwamatsu [EMAIL PROTECTED]
+ * Copyright (C) 2007 Kenati Technologies, Inc.
+ *
+ * board/sh7763rdp/lowlevel_init.S
+ *
+ * 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 

Re: [U-Boot-Users] [PATCH] sh: Renesas Solutions SH7763RDP board support

2008-06-06 Thread Nobuhiro Iwamatsu
Hi, Ben.

On Fri, 06 Jun 2008 08:58:21 -0700
Ben Warren [EMAIL PROTECTED] wrote:

 snip
  +#define CONFIG_NETMASK 255.255.255.0
  +#define CONFIG_IPADDR  192.168.0.63
  +#define CONFIG_SERVERIP192.168.0.1

 Please remove default network address parameters.
Thank you for your comment.

OK. I will remove and resend.

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users