[U-Boot] [PATCH 1/3] MSM7630 Interrupt support
Marek Vasut
marek.vasut at gmail.com
Sat May 12 08:22:45 CEST 2012
Dear Mohamed Haneef,
> * Support for msm7630 interrupts
>
> Signed-off-by: Mohamed Haneef <mohamed.haneef at lntinfotech.com>
> ---
> arch/arm/cpu/armv7/msm7630/Makefile | 1 +
> arch/arm/cpu/armv7/msm7630/interrupts.c | 155
> +++++++++++++++++++++ arch/arm/include/asm/arch-msm7630/exclusion.h |
> 42 ++++++
> arch/arm/include/asm/arch-msm7630/interrupts.h | 40 ++++++
> arch/arm/include/asm/arch-msm7630/irqs.h | 173
> ++++++++++++++++++++++++ board/qcom/msm7630_surf/msm7630_surf.c |
> 3 +
I dont see this file in the tree ... home come? Does this patch depend on some
other patchset?
> 6 files changed, 414 insertions(+), 0 deletions(-)
> create mode 100644 arch/arm/cpu/armv7/msm7630/interrupts.c
> create mode 100644 arch/arm/include/asm/arch-msm7630/exclusion.h
> create mode 100644 arch/arm/include/asm/arch-msm7630/interrupts.h
> create mode 100644 arch/arm/include/asm/arch-msm7630/irqs.h
>
> diff --git a/arch/arm/cpu/armv7/msm7630/Makefile
> b/arch/arm/cpu/armv7/msm7630/Makefile index b97026f..b106ddc 100644
> --- a/arch/arm/cpu/armv7/msm7630/Makefile
> +++ b/arch/arm/cpu/armv7/msm7630/Makefile
> @@ -40,6 +40,7 @@ COBJS-y := board.o
> COBJS-y += timer.o
> COBJS-y += acpuclock.o
> COBJS-y += gpio.o
> +COBJS-$(CONFIG_USE_IRQ) += interrupts.o
>
> SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
> OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS-y))
> diff --git a/arch/arm/cpu/armv7/msm7630/interrupts.c
> b/arch/arm/cpu/armv7/msm7630/interrupts.c new file mode 100644
> index 0000000..6cae9c8
> --- /dev/null
> +++ b/arch/arm/cpu/armv7/msm7630/interrupts.c
> @@ -0,0 +1,155 @@
> +/*
> + * Copyright (c) 2008, Google Inc.
> + * All rights reserved.
> + *
> + * (C) Copyright 2012
> + * Larsen & Toubro Infotech Ltd. <www.lntinfotech.com>
> + *
> + * Redistribution and use in source and binary forms, with or without
> + * modification, are permitted provided that the following conditions
> + * are met:
> + * * Redistributions of source code must retain the above copyright
> + * notice, this list of conditions and the following disclaimer.
> + * * Redistributions in binary form must reproduce the above copyright
> + * notice, this list of conditions and the following disclaimer in
> + * the documentation and/or other materials provided with the
> + * distribution.
> + * * Neither the name of Google, Inc. nor the names of its contributors
> + * may be used to endorse or promote products derived from this
> + * software without specific prior written permission.
> + *
> + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
> + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
> + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
> + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
> + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
> + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
> + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
> + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
> + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
> + * SUCH DAMAGE.
DTTO, see my previous response. I'm not sure if we can accept code that's not
GPL. Let's see.
More information about the U-Boot
mailing list