diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-02-19 05:01:22 -0500 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-05-08 19:33:59 -0400 |
commit | 9c2bd504b55ce3e680ae0d3768e78c15fef3448d (patch) | |
tree | 01ca9fcb81c8d0bdf6680ceeb071f0120ad89c44 /arch | |
parent | 8c869edaee07c623066266827371235fb9c12e01 (diff) |
ARM: Orion: NAND: Add support for clk, if there is one.
Not all orion platforms can gate the clock, but if it does exist,
enable/disable it as appropriate.
v2: Fix the name of the clkdev entry.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Jamie Lentin <jm@lentin.co.uk>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-kirkwood/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/common.c b/arch/arm/mach-kirkwood/common.c index b0f20c0c7d54..99adebce7073 100644 --- a/arch/arm/mach-kirkwood/common.c +++ b/arch/arm/mach-kirkwood/common.c | |||
@@ -116,6 +116,7 @@ void __init kirkwood_clk_init(void) | |||
116 | orion_clkdev_add("0", "sata_mv.0", sata0); | 116 | orion_clkdev_add("0", "sata_mv.0", sata0); |
117 | orion_clkdev_add("1", "sata_mv.0", sata1); | 117 | orion_clkdev_add("1", "sata_mv.0", sata1); |
118 | orion_clkdev_add(NULL, "orion-ehci.0", usb0); | 118 | orion_clkdev_add(NULL, "orion-ehci.0", usb0); |
119 | orion_clkdev_add(NULL, "orion_nand", runit); | ||
119 | } | 120 | } |
120 | 121 | ||
121 | /***************************************************************************** | 122 | /***************************************************************************** |