Skip to contentSkip to conversation

ppc4xx: Add T3COPR board support (PPC460GT based)

PATCH Superseded Stefan Roese 1 participant 1 message Jun 10, 2010 Kbuild

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc4xx: Add T3COPR board support (PPC460GT based)

This patch adds support for the T3CORP board, based on the AppliedMicro (AMCC) PPC460GT.

---
 MAINTAINERS                |    1 +
 MAKEALL                    |    1 +
 Makefile                   |    3 +
 board/t3corp/Makefile      |   53 +++++
 board/t3corp/chip_config.c |   59 +++++
 board/t3corp/config.mk     |   39 ++++
 board/t3corp/init.S        |   99 ++++++++
 board/t3corp/t3corp.c      |  198 ++++++++++++++++
 include/configs/t3corp.h   |  544 ++++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 997 insertions(+), 0 deletions(-)
 create mode 100644 board/t3corp/Makefile
 create mode 100644 board/t3corp/chip_config.c
 create mode 100644 board/t3corp/config.mk
 create mode 100644 board/t3corp/init.S
 create mode 100644 board/t3corp/t3corp.c
 create mode 100644 include/configs/t3corp.h
MAINTAINERS +1 -0
index 7a13d28..5b88243 100644
@@ -383,6 +383,7 @@ Stefan Roese <[email protected]>
 	rainier		PPC440GRx
 	sequoia		PPC440EPx
 	sycamore	PPC405GPr
+	t3corp		PPC460GT
 	taishan		PPC440GX
 	walnut		PPC405GP
 	yellowstone	PPC440GR
MAKEALL +1 -0
index 2527352..17978dd 100755
@@ -262,6 +262,7 @@ LIST_4xx="		\
 	sc3		\
 	sequoia		\
 	sequoia_nand	\
+	t3corp		\
 	taihu		\
 	taishan		\
 	v5fx30teval	\
Makefile +3 -0
index c26e491..0efbff0 100644
@@ -1545,6 +1545,9 @@ rainier_ramboot_config: unconfig
 	@echo "LDSCRIPT = board/amcc/sequoia/u-boot-ram.lds" >> \
 		$(obj)board/amcc/sequoia/config.tmp
 
+t3corp_config:	unconfig
+	@$(MKCONFIG) $(@:_config=) powerpc ppc4xx t3corp
+
 taihu_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) powerpc ppc4xx taihu amcc
 
board/t3corp/Makefile new file +53 -0

53 lines not on this page · raw message

board/t3corp/chip_config.c new file +59 -0

59 lines not on this page · raw message

board/t3corp/config.mk new file +39 -0
new file mode 100644
index 0000000..616aa19
@@ -0,0 +1,39 @@
+#
+# (C) Copyright 2010
+# Stefan Roese, DENX Software Engineering, sr 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
+#
+#
+
+sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
+
+ifndef TEXT_BASE
+TEXT_BASE = 0xFFFA0000
+endif
+
+PLATFORM_CPPFLAGS += -DCONFIG_440=1
+
+ifeq ($(debug),1)
+PLATFORM_CPPFLAGS += -DDEBUG
+endif
+
+ifeq ($(dbcr),1)
+PLATFORM_CPPFLAGS += -DCONFIG_SYS_INIT_DBCR=0x8cff0000
+endif
board/t3corp/init.S new file +99 -0

99 lines not on this page · raw message

board/t3corp/t3corp.c new file +198 -0

198 lines not on this page · raw message

include/configs/t3corp.h new file +544 -0

544 lines not on this page · raw message

Signature · 1 line
1.7.1