lkml.org 
[lkml]   [2012]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 6/6] ARM: dove: Add crypto engine to DT
    Date
    Make use of DT support for the crypto engine on dove and remove
    the obsolete init call.

    Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
    ---
    Cc: Russell King <linux@arm.linux.org.uk>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Andrew Lunn <andrew@lunn.ch>
    Cc: Olof Johansson <olof@lixom.net>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-kernel@vger.kernel.org
    ---
    arch/arm/boot/dts/dove.dtsi | 9 +++++++++
    arch/arm/mach-dove/common.c | 1 -
    2 files changed, 9 insertions(+), 1 deletion(-)

    diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
    index c59c529..5a00022 100644
    --- a/arch/arm/boot/dts/dove.dtsi
    +++ b/arch/arm/boot/dts/dove.dtsi
    @@ -145,5 +145,14 @@
    nr-ports = <1>;
    status = "disabled";
    };
    +
    + crypto: crypto@30000 {
    + compatible = "marvell,orion-crypto";
    + reg = <0x30000 0x10000>,
    + <0xc8000000 0x800>;
    + reg-names = "regs", "sram";
    + interrupts = <31>;
    + status = "okay";
    + };
    };
    };
    diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c
    index ffec26f..f723fe1 100644
    --- a/arch/arm/mach-dove/common.c
    +++ b/arch/arm/mach-dove/common.c
    @@ -416,7 +416,6 @@ static void __init dove_dt_init(void)
    dove_ehci0_init();
    dove_ehci1_init();
    dove_pcie_init(1, 1);
    - dove_crypto_init();

    of_platform_populate(NULL, of_default_bus_match_table,
    dove_auxdata_lookup, NULL);
    --
    1.7.10.4


    \
     
     \ /
      Last update: 2012-09-25 02:41    [W:2.978 / U:1.148 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site