Skip to contentSkip to conversation

add at91 SoC access with c structures

PATCH New Jens Scharsig 1 participant 1 message Dec 19, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/8 add at91 SoC access with c structures

* add at91 soc to arm920t, needs to join at91rm9200 into at91 arch

---
 cpu/arm920t/at91/Makefile        |   47 ++++++++++
 cpu/arm920t/at91/lowlevel_init.S |  177 ++++++++++++++++++++++++++++++++++++++
 cpu/arm920t/at91/reset.c         |   58 ++++++++++++
 cpu/arm920t/at91/timer.c         |  166 +++++++++++++++++++++++++++++++++++
 4 files changed, 448 insertions(+), 0 deletions(-)
 create mode 100644 cpu/arm920t/at91/Makefile
 create mode 100644 cpu/arm920t/at91/lowlevel_init.S
 create mode 100644 cpu/arm920t/at91/reset.c
 create mode 100644 cpu/arm920t/at91/timer.c
cpu/arm920t/at91/Makefile new file +47 -0
new file mode 100644
index 0000000..6e683f6
@@ -0,0 +1,47 @@
+#
+# (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$(SOC).a
+
+SOBJS	+= lowlevel_init.o
+COBJS	+= reset.o
+COBJS	+= timer.o
+
+SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
+
+all:	$(obj).depend $(LIB)
+
+$(LIB):	$(OBJS)
+	$(AR) $(ARFLAGS) $@ $(OBJS)
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################
cpu/arm920t/at91/lowlevel_init.S new file +177 -0

177 lines not on this page · raw message

cpu/arm920t/at91/reset.c new file +58 -0

58 lines not on this page · raw message

cpu/arm920t/at91/timer.c new file +166 -0

166 lines not on this page · raw message

Signature · 1 line
1.6.0.2