core support for Freescale mx31
PATCH v2 2/7 core support for Freescale mx31
From: Sascha Hauer <[email protected]>
This patch adds the core support for Freescale mx31
Signed-off-by Sascha Hauer <[email protected]>
Signed-off-by Guennadi Liakhovetski <[email protected]>
---
No changes wrt v1
cpu/arm1136/mx31/Makefile | 45 +++++++ cpu/arm1136/mx31/generic.c | 101 ++++++++++++++ cpu/arm1136/mx31/interrupts.c | 102 +++++++++++++++ cpu/arm1136/mx31/serial.c | 231 +++++++++++++++++++++++++++++++++ include/asm-arm/arch-mx31/mx31-regs.h | 138 ++++++++++++++++++++ include/asm-arm/arch-mx31/mx31.h | 32 +++++ 6 files changed, 649 insertions(+), 0 deletions(-) create mode 100644 cpu/arm1136/mx31/Makefile create mode 100644 cpu/arm1136/mx31/generic.c create mode 100644 cpu/arm1136/mx31/interrupts.c create mode 100644 cpu/arm1136/mx31/serial.c create mode 100644 include/asm-arm/arch-mx31/mx31-regs.h create mode 100644 include/asm-arm/arch-mx31/mx31.h
cpu/arm1136/mx31/Makefile new file +45 -0
@@ -0,0 +1,45 @@ +# +# (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 + +COBJS = interrupts.o serial.o generic.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/arm1136/mx31/generic.c new file +101 -0
101 lines not on this page · raw message
cpu/arm1136/mx31/interrupts.c new file +102 -0
102 lines not on this page · raw message
cpu/arm1136/mx31/serial.c new file +231 -0
231 lines not on this page · raw message
include/asm-arm/arch-mx31/mx31-regs.h new file +138 -0
138 lines not on this page · raw message
include/asm-arm/arch-mx31/mx31.h new file +32 -0
@@ -0,0 +1,32 @@ +/* +* +* (c) 2007 Pengutronix, Sascha Hauer <[email protected]> +* +* 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 +*/ + +#ifndef __ASM_ARCH_MX31_H +#define __ASM_ARCH_MX31_H + +u32 mx31_get_mpl_dpdgck_clk (void ); +u32 mx31_get_mcu_main_clk (void ); +u32 mx31_get_ipg_clk (void ); +void mx31_gpio_mux (unsigned long mode); + +#endif /* __ASM_ARCH_MX31_H */
Signature · 1 line
1.5.4
PATCH v2 2/7 core support for Freescale mx31
Quoted 6 lines · In message <[email protected]> you wrote:
From: Sascha Hauer <[email protected]>
This patch adds the core support for Freescale mx31
Signed-off-by Sascha Hauer <[email protected]>Signed-off-by Guennadi Liakhovetski <[email protected]>
Pulled in directly, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Bureaucracy is the enemy of innovation."
- Mark Shepherd, former President and CEO of Texas Instruments