[U-Boot-Users] [PATCH 1/5]: add AcTux board support (common)
Michael Schwingen
michael at schwingen.org
Sat Jan 12 15:00:30 CET 2008
Hi,
since all prerequisites seem to be in master (or on the way), I think I can
finally submit the patch set for the IXP42x boards I have been working on.
The boards are called AcTux-1 .. AcTux-4. This patch contains the files that
contain changes for multiple boards, the board-specific files follow as
single patches.
I am not sure about the MACH_TYPE definitions - are these automatically
pulled from the Linux master file?
cu
Michael
Signed-off-by: Michael Schwingen <michael at schwingen.org>
diff --git a/MAINTAINERS b/MAINTAINERS
index 2ef2f5c..9291f48 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -536,6 +536,13 @@ Alex Züpke <azu at sysgo.de>
lart SA1100
dnp1110 SA1110
+Michael Schwingen <michael at schwingen.org>
+
+ actux1 xscale
+ actux2 xscale
+ actux3 xscale
+ actux4 xscale
+
#########################################################################
# x86 Systems: #
# #
diff --git a/MAKEALL b/MAKEALL
index ebc5a22..7e39b2c 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -516,4 +516,8 @@ LIST_ixp=" \
ixdpg425 \
pdnb3 \
scpu \
+ actux1 \
+ actux2 \
+ actux3 \
+ actux4 \
"
diff --git a/Makefile b/Makefile
index 1983ca0..10ab3df 100644
--- a/Makefile
+++ b/Makefile
@@ -2430,2 +2430,2 @@ ixdp425_config : unconfig
ixdpg425_config : unconfig
@$(MKCONFIG) $(@:_config=) arm ixp ixdp425
+actux1_config : unconfig
+ @$(MKCONFIG) $(@:_config=) arm ixp actux1
+
+actux2_config : unconfig
+ @$(MKCONFIG) $(@:_config=) arm ixp actux2
+
+actux3_config : unconfig
+ @$(MKCONFIG) $(@:_config=) arm ixp actux3
+
+actux4_config : unconfig
+ @$(MKCONFIG) $(@:_config=) arm ixp actux4
+
lubbock_config : unconfig
@$(MKCONFIG) $(@:_config=) arm pxa lubbock
diff --git a/board/actux3/Makefile b/board/actux3/Makefile
new file mode 100644
index 0000000..f7a6091
--- /dev/null
+++ b/board/actux3/Makefile
@@ -0,0 +1,50 @@
+#
+# (C) Copyright 2000-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
+
+LIB = $(obj)lib$(BOARD).a
+
+COBJS := actux3.o
+
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+SOBJS := $(addprefix $(obj),$(SOBJS))
+
+$(LIB): $(obj).depend $(OBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS)
+
+clean:
+ rm -f $(SOBJS) $(OBJS)
+
+distclean: clean
+ rm -f $(LIB) core *.bak .depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################
diff --git a/include/asm-arm/mach-types.h b/include/asm-arm/mach-types.h
index ab19047..01bfecb 100644
--- a/include/asm-arm/mach-types.h
+++ b/include/asm-arm/mach-types.h
@@ -742,3 +742,7 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_AT91SAM9260EK 1099
#define MACH_TYPE_AT91RM9200DF 1119
#define MACH_TYPE_AT91SAM9263EK 1202
+#define MACH_TYPE_ACTUX1 1479
+#define MACH_TYPE_ACTUX2 1480
+#define MACH_TYPE_ACTUX3 1481
+#define MACH_TYPE_ACTUX4 1532
#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type
More information about the U-Boot
mailing list