clk: mvebu: flag the crypto clk as CLK_IGNORE_UNUSED
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 16 Jun 2015 15:56:19 +0000 (17:56 +0200)
committerMichael Turquette <mturquette@baylibre.com>
Thu, 18 Jun 2015 20:51:45 +0000 (13:51 -0700)
The crypto SRAM, used by the armada 370 cpuidle code to workaround a bug
in the BootROM code, requires the crypto clk to be up and running.
Flag the crypto clk as IGNORE_UNUSED until we add the proper
infrastructure to define the crypto SRAM in the DT and reference the crypto
clk in this SRAM node.

Reported-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
drivers/clk/mvebu/armada-370.c

index c19fd77e6c27a309f64c6212f147f11190910d96..2c7c1085f88300ca84ac529831876af25376a047 100644 (file)
@@ -163,7 +163,7 @@ static const struct clk_gating_soc_desc a370_gating_desc[] __initconst = {
        { "pex1", "pex1_en", 9, 0 },
        { "sata0", NULL, 15, 0 },
        { "sdio", NULL, 17, 0 },
-       { "crypto", NULL, 23, 0 },
+       { "crypto", NULL, 23, CLK_IGNORE_UNUSED },
        { "tdm", NULL, 25, 0 },
        { "ddr", NULL, 28, CLK_IGNORE_UNUSED },
        { "sata1", NULL, 30, 0 },