Skip to contentSkip to conversation

PPC4xx: Add support for Korat PPC440EPx board

PATCH New Larry Johnson 1 participant 1 message Nov 2, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 PPC4xx: Add support for Korat PPC440EPx board

These patches add support for the PPC440EPx-based "Korat" board to U-Boot. They are based primarily on the Sequoia board support.

---

 MAINTAINERS            |    4 +
 MAKEALL                |    1 +
 Makefile               |    3 +
 board/korat/Makefile   |   51 ++++
 board/korat/config.mk  |   37 +++
 board/korat/init.S     |   80 +++++
 board/korat/korat.c    |  761 ++++++++++++++++++++++++++++++++++++++++++++++++
 board/korat/u-boot.lds |  145 +++++++++
 8 files changed, 1082 insertions(+), 0 deletions(-)
MAINTAINERS +4 -0
index b8c1fdc..16caa75 100644
@@ -204,6 +204,10 @@ Murray Jensen <[email protected]>
 	cogent_mpc8260		MPC8260
 	hymod			MPC8260
 
+Larry Johnson <[email protected]>
+
+	korat			PPC440EPx
+
 Brad Kemp <[email protected]>
 
 	ppmc8260		MPC8260
MAKEALL +1 -0
index 20e8137..a0567c5 100755
@@ -187,6 +187,7 @@ LIST_4xx="		\
 	JSE		\
 	KAREF		\
 	katmai		\
+	korat		\
 	luan		\
 	lwmon5		\
 	METROBOX	\
Makefile +3 -0
index 5643aa9..8862ed0 100644
@@ -1168,6 +1168,9 @@ KAREF_config: unconfig
 katmai_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
 
+korat_config: unconfig
+	@$(MKCONFIG) $(@:_config=) ppc ppc4xx korat
+
 luan_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
 
board/korat/Makefile new file +51 -0

51 lines not on this page · raw message

board/korat/config.mk new file +37 -0
new file mode 100644
index 0000000..39966e0
@@ -0,0 +1,37 @@
+#
+# (C) Copyright 2002
+# 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
+#
+#
+# Korat (PPC440EPx) board
+#
+
+TEXT_BASE = 0xFFFA0000
+
+PLATFORM_CPPFLAGS += -DCONFIG_440=1
+
+ifeq ($(debug),1)
+PLATFORM_CPPFLAGS += -DDEBUG
+endif
+
+ifeq ($(dbcr),1)
+PLATFORM_CPPFLAGS += -DCFG_INIT_DBCR=0x8cff0000
+endif
board/korat/init.S new file +80 -0

80 lines not on this page · raw message

board/korat/korat.c new file +761 -0

761 lines not on this page · raw message

board/korat/u-boot.lds new file +145 -0

145 lines not on this page · raw message