add at91 SoC access with c structures
PATCH v2 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
@@ -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
PATCH v2 2/8 add at91 SoC access with c structures
Quoted 4 lines · Jens Scharsig
* add at91 soc to arm920t, needs to join at91rm9200 into at91 arch
Signed-off-by Jens Scharsig <[email protected]>
Quoted 11 lines
--- 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
It is unclear why arm920t/at91rm9200 -> arm920t/at91 I am not in favor of renaming dirs or making multiple copies of the same file.
Please make your case on the list and in the commit log of the patch
Tom
PATCH v2 2/8 add at91 SoC access with c structures
Hello Tom
Quoted 3 lines
It is unclear why arm920t/at91rm9200 -> arm920t/at91 I am not in favor of renaming dirs or making multiple copies of the same file.
the intention is, the at91rm9200 integrates in at91 tree. So I create a new dir for files with c structur soc access.
If all boards converted to at91 new soc access, we can remove the at91rm9200 dir.
see also <http://lists.denx.de/pipermail/u-boot/2009-December/065688.html>
regards Jens