lkml.org 
[lkml]   [2013]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH V2 7/7] ARM: DRA: Enable Crossbar IP support for DRA7XX
    Date
    Enable the crossbar IP support for DRA7xx soc.

    Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
    Cc: Rajendra Nayak <rnayak@ti.com>
    Cc: Tony Lindgren <tony@atomide.com>
    Signed-off-by: Sricharan R <r.sricharan@ti.com>
    ---
    arch/arm/mach-omap2/Kconfig | 2 +-
    arch/arm/mach-omap2/omap4-common.c | 4 ++++
    2 files changed, 5 insertions(+), 1 deletion(-)

    diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
    index d2d0227..73c4889 100644
    --- a/arch/arm/mach-omap2/Kconfig
    +++ b/arch/arm/mach-omap2/Kconfig
    @@ -123,9 +123,9 @@ config SOC_DRA7XX
    select ARM_GIC
    select HAVE_SMP
    select COMMON_CLK
    - select CROSSBAR
    select ARCH_HAS_RESET_CONTROLLER
    select RESET_TI
    + select IRQ_CROSSBAR

    comment "OMAP Core Type"
    depends on ARCH_OMAP2
    diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c
    index 40c265e..f64826f 100644
    --- a/arch/arm/mach-omap2/omap4-common.c
    +++ b/arch/arm/mach-omap2/omap4-common.c
    @@ -22,6 +22,7 @@
    #include <linux/of_platform.h>
    #include <linux/export.h>
    #include <linux/irqchip/arm-gic.h>
    +#include <linux/irqchip/irq-crossbar.h>
    #include <linux/of_address.h>
    #include <linux/reboot.h>

    @@ -291,9 +292,12 @@ void __init omap_gic_of_init(void)

    skip_errata_init:
    omap_wakeupgen_init();
    + if (soc_is_dra7xx())
    + crossbar_init();
    irqchip_init();
    }

    +
    #if defined(CONFIG_MMC_OMAP_HS) || defined(CONFIG_MMC_OMAP_HS_MODULE)
    static int omap4_twl6030_hsmmc_late_init(struct device *dev)
    {
    --
    1.7.9.5


    \
     
     \ /
      Last update: 2013-10-30 16:21    [W:4.247 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site