Hema,
>
>
> >-----Original Message-----
> >From: [email protected]
> >[mailto:[email protected]] On Behalf Of
> >Varadarajan, Charulatha
> >Sent: Friday, August 13, 2010 7:35 PM
> >To: [email protected]
> >Cc: [email protected]; [email protected]; Cousson,
> >Benoit; [email protected]; [email protected];
> >[email protected];
> >[email protected]; Nayak, Rajendra;
> >Basak, Partha; Varadarajan, Charulatha; Raja, Govindraj
> >Subject: [PATCH 1/5] OMAP2420: McSPI: Add mcspi hwmod
> >
> >This patch updates the omap2420 hwmod data with the
> >McSPI info.
> >
> >Signed-off-by: Charulatha V <[email protected]>
> >Signed-off-by: Partha Basak <[email protected]>
> >Signed-off-by: Govindraj.R <[email protected]>
> >---
> > arch/arm/mach-omap2/omap_hwmod_2420_data.c | 138
> >++++++++++++++++++++++++++++
> > 1 files changed, 138 insertions(+), 0 deletions(-)
> >
> >diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c
> >b/arch/arm/mach-omap2/omap_hwmod_2420_data.c
> >index 3cc768e..7d1a0ff 100644
> >--- a/arch/arm/mach-omap2/omap_hwmod_2420_data.c
> >+++ b/arch/arm/mach-omap2/omap_hwmod_2420_data.c
> >@@ -15,6 +15,7 @@
> > #include <mach/irqs.h>
> > #include <plat/cpu.h>
> > #include <plat/dma.h>
> >+#include <plat/mcspi.h>
> >
> > #include "omap_hwmod_common_data.h"
> >
> >@@ -33,6 +34,8 @@ static struct omap_hwmod omap2420_mpu_hwmod;
> > static struct omap_hwmod omap2420_iva_hwmod;
> > static struct omap_hwmod omap2420_l3_main_hwmod;
> > static struct omap_hwmod omap2420_l4_core_hwmod;
> >+static struct omap_hwmod omap2420_mcspi1_hwmod;
> >+static struct omap_hwmod omap2420_mcspi2_hwmod;
> >
> > /* L3 -> L4_CORE interface */
> > static struct omap_hwmod_ocp_if omap2420_l3_main__l4_core = {
> >@@ -72,6 +75,42 @@ static struct omap_hwmod omap2420_l3_main_hwmod = {
> >
> > static struct omap_hwmod omap2420_l4_wkup_hwmod;
> >
> >+/* L4 CORE -> MCSPI1 interface */
> >+static struct omap_hwmod_addr_space omap2420_mcspi1_addr_space[] = {
> >+ {
> >+ .pa_start = 0x48098000,
> >+ .pa_end = 0x480980ff,
> >+ .flags = ADDR_TYPE_RT,
> >+ },
> >+};
>
> Align all of them to one tab..
If you apply the patch, you would see them aligned to one tab.
>
> >+
> >+static struct omap_hwmod_ocp_if omap2420_l4_core__mcspi1 = {
> >+ .master = &omap2420_l4_core_hwmod,
> >+ .slave = &omap2420_mcspi1_hwmod,
> >+ .clk = "mcspi1_ick",
> >+ .addr = omap2420_mcspi1_addr_space,
> >+ .addr_cnt = ARRAY_SIZE(omap2420_mcspi1_addr_space),
> >+ .user = OCP_USER_MPU | OCP_USER_SDMA,
> >+};
> >+
> >+/* L4 CORE -> MCSPI2 interface */
> >+static struct omap_hwmod_addr_space omap2420_mcspi2_addr_space[] = {
> >+ {
> >+ .pa_start = 0x4809a000,
> >+ .pa_end = 0x4809a0ff,
> >+ .flags = ADDR_TYPE_RT,
> >+ },
> >+};
> >+
>
> Ditto align to one tab
Ditto :)
>
> >+static struct omap_hwmod_ocp_if omap2420_l4_core__mcspi2 = {
> >+ .master = &omap2420_l4_core_hwmod,
.
.
[snip]
.
.
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general