Skip to contentSkip to conversation

Add MPC8544DS basic port board files.

PATCH New Jon Loeliger 1 participant 1 message Apr 11, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 Add MPC8544DS basic port board files.

Add board port under new board/freescale directory structure and reuse existing PIXIS FPGA support there.

---
 board/freescale/mpc8544ds/Makefile    |   58 ++++++++
 board/freescale/mpc8544ds/config.mk   |   32 +++++
 board/freescale/mpc8544ds/init.S      |  243 +++++++++++++++++++++++++++++++++
 board/freescale/mpc8544ds/mpc8544ds.c |  205 +++++++++++++++++++++++++++
 board/freescale/mpc8544ds/u-boot.lds  |  148 ++++++++++++++++++++
 5 files changed, 686 insertions(+), 0 deletions(-)
 create mode 100644 board/freescale/mpc8544ds/Makefile
 create mode 100644 board/freescale/mpc8544ds/config.mk
 create mode 100644 board/freescale/mpc8544ds/init.S
 create mode 100644 board/freescale/mpc8544ds/mpc8544ds.c
 create mode 100644 board/freescale/mpc8544ds/u-boot.lds
board/freescale/mpc8544ds/Makefile new file +58 -0
new file mode 100644
index 0000000..bec2168
@@ -0,0 +1,58 @@
+#
+# Copyright 2007 Freescale Semiconductor, Inc.
+# (C) Copyright 2001-2006
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# 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
+#
+
+include $(TOPDIR)/config.mk
+
+# ifneq ($(OBJTREE),$(SRCTREE))
+# $(shell mkdir -p $(obj)./common)
+# endif
+
+LIB	= $(obj)lib$(BOARD).a
+
+COBJS	:= $(BOARD).o \
+	   ../common/pixis.o
+
+SOBJS	:= init.o
+
+SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS	:= $(addprefix $(obj),$(COBJS))
+SOBJS	:= $(addprefix $(obj),$(SOBJS))
+
+$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
+	$(AR) crv $@ $(OBJS)
+
+clean:
+	rm -f $(OBJS) $(SOBJS)
+
+distclean:	clean
+	rm -f $(LIB) core *.bak .depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################
board/freescale/mpc8544ds/config.mk new file +32 -0
new file mode 100644
index 0000000..85663ef
@@ -0,0 +1,32 @@
+#
+# Copyright 2007 Freescale Semiconductor, Inc.
+#
+# 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
+#
+
+#
+# mpc8544ds board
+#
+ifndef TEXT_BASE
+TEXT_BASE = 0xfff80000
+endif
+
+PLATFORM_CPPFLAGS += -DCONFIG_E500=1
+PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx=1
+PLATFORM_CPPFLAGS += -DCONFIG_MPC8544=1
board/freescale/mpc8544ds/init.S new file +243 -0

243 lines not on this page · raw message

board/freescale/mpc8544ds/mpc8544ds.c new file +205 -0

205 lines not on this page · raw message

board/freescale/mpc8544ds/u-boot.lds new file +148 -0

148 lines not on this page · raw message

Signature · 1 line
1.5.0.3