Skip to contentSkip to conversation

ppc4xx: New board avnet fx12 minimodule <v3>

PATCH New Georg Schardt 2 participants 2 messages Oct 22, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc4xx: New board avnet fx12 minimodule <v3>

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

<v2>
rebased to ppc4xx/master

<v3>
files u-boot.lds and init.S removed

---
 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/xparameters.h |   51 +++++++++++++++++++++++++++
 include/configs/fx12mm.h         |   72 ++++++++++++++++++++++++++++++++++++++
 9 files changed, 252 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/xparameters.h
 create mode 100644 include/configs/fx12mm.h
MAINTAINERS +4 -0
index a5d1038..260c3e6 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 66922eb..d6abb4d 100644
@@ -1293,6 +1293,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/xparameters.h new file +51 -0

51 lines not on this page · raw message

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

72 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 <v3>

Quoted 1 line · Georg Schardt

From: schardt <[email protected]>

Oops, I missed critiquing the above line: we don't need it (email and git know who it is from already).

Thanks,
gvb

No, wait, maybe red.