Skip to contentSkip to conversation

ppc4xx: New board avnet fx12 minimodule

PATCH New Georg Schardt 2 participants 2 messages Oct 16, 2008 – Oct 21, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc4xx: New board avnet fx12 minimodule

From: schardt <[email protected]>

this patch adds support for the avnet fx12 minimodul
it needs the "ppc4xx: Generic architecture for xilinx ppc405" patch from Ricardo

---
 MAINTAINERS                      |    4 +
 MAKEALL                          |    1 +
 Makefile                         |   18 +++++
 board/avnet/fx12mm/.gitignore    |    1 +
 board/avnet/fx12mm/Makefile      |   27 +++++++
 board/avnet/fx12mm/config.mk     |   26 +++++++
 board/avnet/fx12mm/fx12mm.c      |   52 +++++++++++++
 board/avnet/fx12mm/init.S        |   32 ++++++++
 board/avnet/fx12mm/u-boot.lds    |  149 ++++++++++++++++++++++++++++++++++++++
 board/avnet/fx12mm/xparameters.h |   51 +++++++++++++
 include/configs/fx12mm.h         |   70 ++++++++++++++++++
 11 files changed, 431 insertions(+), 0 deletions(-)
 create mode 100644 board/avnet/fx12mm/.gitignore
 create mode 100644 board/avnet/fx12mm/Makefile
 create mode 100644 board/avnet/fx12mm/config.mk
 create mode 100644 board/avnet/fx12mm/fx12mm.c
 create mode 100644 board/avnet/fx12mm/init.S
 create mode 100644 board/avnet/fx12mm/u-boot.lds
 create mode 100644 board/avnet/fx12mm/xparameters.h
 create mode 100644 include/configs/fx12mm.h
MAINTAINERS +4 -0
index dfc3b56..00fa071 100644
@@ -366,6 +366,10 @@ Travis Sawyer (travis.sawyer at sandburst.com>
 	METROBOX	PPC440GX
 	XPEDITE1K	PPC440GX
 
+Georg Schardt <[email protected]>
+
+	fx12mm		PPC405
+
 Heiko Schocher <[email protected]>
 
 	ids8247		MPC8247
MAKEALL +1 -0
index aa602b7..1f56ac5 100755
@@ -186,6 +186,7 @@ LIST_4xx="		\
 	ebony		\
 	ERIC		\
 	EXBITGEN	\
+	fx12mm		\
 	G2000		\
 	glacier		\
 	haleakala	\
Makefile +18 -0
index 06ba2c6..cd4e14c 100644
@@ -1291,6 +1291,24 @@ ERIC_config:	unconfig
 EXBITGEN_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
 
+fx12mm_flash_config: unconfig
+	@mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
+	@mkdir -p $(obj)include $(obj)board/avnet/fx12mm
+	@echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-rom.lds"\
+		> $(obj)board/avnet/fx12mm/config.tmp
+	@echo "TEXT_BASE := 0xFFCB0000" \
+		>> $(obj)board/avnet/fx12mm/config.tmp
+	@$(MKCONFIG) fx12mm ppc ppc4xx fx12mm avnet
+
+fx12mm_config: unconfig
+	@mkdir -p $(obj)include $(obj)board/xilinx/ppc405-generic
+	@mkdir -p $(obj)include $(obj)board/avnet/fx12mm
+	@echo "LDSCRIPT:=$(SRCTREE)/board/xilinx/ppc405-generic/u-boot-ram.lds"\
+		> $(obj)board/avnet/fx12mm/config.tmp
+	@echo "TEXT_BASE := 0x03000000" \
+		>> $(obj)board/avnet/fx12mm/config.tmp
+	@$(MKCONFIG) fx12mm ppc ppc4xx fx12mm avnet
+
 G2000_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
 
board/avnet/fx12mm/.gitignore new file +1 -0
new file mode 100644
index 0000000..b644f59
@@ -0,0 +1 @@
+config.tmp
board/avnet/fx12mm/Makefile new file +27 -0
new file mode 100644
index 0000000..f943781
@@ -0,0 +1,27 @@
+#
+# (C) Copyright 2008
+# Ricardo Ribalda,Universidad Autonoma de Madrid, ricardo.ribalda at uam.es
+# This work has been supported by: Qtechnology http://qtec.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., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+COBJS	+= $(BOARD).o
+
+include $(SRCTREE)/board/xilinx/ppc405-generic/Makefile
board/avnet/fx12mm/config.mk new file +26 -0
new file mode 100644
index 0000000..f5a6039
@@ -0,0 +1,26 @@
+#
+# (C) Copyright 2008
+# Ricardo Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda at uam.es
+# Work supported by Qtechnology http://www.qtec.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., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+#
+
+sinclude $(SRCTREE)/board/xilinx/ppc405-generic/config.mk
board/avnet/fx12mm/fx12mm.c new file +52 -0

52 lines not on this page · raw message

board/avnet/fx12mm/init.S new file +32 -0
new file mode 100644
index 0000000..c05a211
@@ -0,0 +1,32 @@
+/*
+ * (C) Copyright 2008
+ *
+ * Georg Schardt <[email protected]>
+ *
+ * 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., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ */
+
+	.globl ext_bus_cntlr_init
+ext_bus_cntlr_init:
+	blr
+
+	.globl sdram_init
+sdram_init:
+	blr
board/avnet/fx12mm/u-boot.lds new file +149 -0

149 lines not on this page · raw message

board/avnet/fx12mm/xparameters.h new file +51 -0

51 lines not on this page · raw message

include/configs/fx12mm.h new file +70 -0

70 lines not on this page · raw message

Signature · 1 line
1.5.4.1
#1 lore raw

PATCH 1/1 ppc4xx: New board avnet fx12 minimodule

Quoted 5 lines · Georg Schardt

From: schardt <[email protected]>

this patch adds support for the avnet fx12 minimodul
it needs the "ppc4xx: Generic architecture for xilinx ppc405" patch from Ricardo

I just merged u-boot/master into u-boot-ppc4xx/master and pushed it to git.denx.de. Please rebase your patch against this repo and resubmit.

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================