Skip to contentSkip to conversation

msm7x30: Add support for msm7630_surf board

PATCH In review mohamed.haneef at lntinfotech.com 2 participants 2 messages Feb 16, 2012 – Oct 3, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 5/5 msm7x30: Add support for msm7630_surf board

From: Mohamed Haneef <[email protected]>

*Support for msm7630_surf board

---
 board/qcom/msm7630_surf/Makefile       |   55 +++++++++++
 board/qcom/msm7630_surf/msm7630_surf.c |  155 ++++++++++++++++++++++++++++++++
 board/qcom/msm7630_surf/msm7630_surf.h |   30 ++++++
 boards.cfg                             |    1 +
 include/configs/msm7630_surf.h         |  131 +++++++++++++++++++++++++++
 5 files changed, 372 insertions(+), 0 deletions(-)
 create mode 100644 board/qcom/msm7630_surf/Makefile
 create mode 100644 board/qcom/msm7630_surf/msm7630_surf.c
 create mode 100644 board/qcom/msm7630_surf/msm7630_surf.h
 create mode 100644 include/configs/msm7630_surf.h
board/qcom/msm7630_surf/Makefile new file +55 -0
new file mode 100644
index 0000000..f9dec32
@@ -0,0 +1,55 @@
+#
+#  (C) Copyright 2012
+#  LARSEN & TOUBRO INFOTECH LTD <www.lntinfotech.com>
+#
+#  (C) Copyright 2010,2011
+#  NVIDIA Corporation <www.nvidia.com>
+#
+#
+#  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
+ifneq ($(OBJTREE),$(SRCTREE))
+$(shell mkdir -p $(obj)../../qcom/msm7630_surf/)
+endif
+
+LIB    = $(obj)lib$(BOARD).o
+
+COBJS  := $(BOARD).o
+SRCS   := $(COBJS:.o=.c)
+OBJS   := $(addprefix $(obj),$(COBJS))
+
+$(LIB):        $(obj).depend $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
+
+clean:
+       rm -f $(OBJS)
+
+distclean:     clean
+       rm -f $(LIB) core *.bak $(obj).depend
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################
board/qcom/msm7630_surf/msm7630_surf.c new file +155 -0

155 lines not on this page · raw message

board/qcom/msm7630_surf/msm7630_surf.h new file +30 -0
new file mode 100644
index 0000000..a3d4bde
@@ -0,0 +1,30 @@
+/*
+ * (C) Copyright 2012
+ * LARSEN & TOUBRO INFOTECH LTD <www.lntinfotech.com>
+ *
+ * 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 __MSM7630_SURF_H_
+#define __MSM7630_SURF_H_
+#include <asm/arch/gpio_hw.h>
+
+extern void set_vector_base(unsigned long);
+extern void adm_enable_clock(void);
+extern void acpu_clock_init(void);
+extern void uart2_clock_init(void);
+extern int platform_gpios_enable(const struct msm_gpio *table, int size);
+#endif
boards.cfg +1 -0
index bf71a66..4ab9330 100644
@@ -190,6 +190,7 @@ integratorcp_cm946es         arm         arm946es    integrator          armltd
 ca9x4_ct_vxp                 arm         armv7       vexpress            armltd
 am335x_evm                   arm         armv7       am335x              ti             am33xx
 highbank                     arm         armv7       highbank            -              highbank
+msm7630_surf                 arm         armv7       msm7630_surf        qcom           msm7630
 efikamx                      arm         armv7       efikamx             -              mx5            efikamx:MACH_TYPE=MACH_TYPE_MX51_EFIKAMX,IMX_CONFIG=board/efikamx/imximage_mx.cfg
 efikasb                      arm         armv7       efikamx             -              mx5            efikamx:MACH_TYPE=MACH_TYPE_MX51_EFIKASB,IMX_CONFIG=board/efikamx/imximage_sb.cfg
 mx51evk                      arm         armv7       mx51evk             freescale      mx5            mx51evk:IMX_CONFIG=board/freescale/mx51evk/imximage.cfg
include/configs/msm7630_surf.h new file +131 -0

131 lines not on this page · raw message

--
1.7.1

The contents of this e-mail and any attachment(s) may contain confidential or privileged information for the intended recipient(s). Unintended recipients are prohibited from taking action on the basis of information in this e-mail and using or disseminating the information, and must notify the sender and delete it from their system. L&T Infotech will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in this e-mail"

#1 lore raw

PATCH 5/5 msm7x30: Add support for msm7630_surf board

Hi Mohamed,

There never seemed to be a 4/5 patch in this set, neither on the list nor in patchwork. Was it lost somehow?

Also, could you please not append this to your mails to the list?

Quoted 1 line

The contents of this e-mail and any attachment(s) may contain confidential or privileged information for the intended recipient(s). Unintended recipients are prohibited from taking action on the basis of information in this e-mail and using or disseminating the information, and must notify the sender and delete it from their system. L&T Infotech will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in this e-mail"

Amicalement,

Signature · 1 line
Albert.